[Midnightbsd-cvs] src [7600] stable/0.8/sbin/ggate/shared/ggate.c: init to zero

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 28 17:35:10 EDT 2016


Revision: 7600
          http://svnweb.midnightbsd.org/src/?rev=7600
Author:   laffer1
Date:     2016-05-28 17:35:10 -0400 (Sat, 28 May 2016)
Log Message:
-----------
init to zero

Modified Paths:
--------------
    stable/0.8/sbin/ggate/shared/ggate.c

Modified: stable/0.8/sbin/ggate/shared/ggate.c
===================================================================
--- stable/0.8/sbin/ggate/shared/ggate.c	2016-05-28 21:34:50 UTC (rev 7599)
+++ stable/0.8/sbin/ggate/shared/ggate.c	2016-05-28 21:35:10 UTC (rev 7600)
@@ -152,7 +152,7 @@
 unsigned
 g_gate_sectorsize(int fd)
 {
-	unsigned secsize;
+	unsigned secsize = 0;
 	struct stat sb;
 
 	if (fstat(fd, &sb) == -1)



More information about the Midnightbsd-cvs mailing list