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

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


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

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:35:10 UTC (rev 7600)
+++ stable/0.8/sbin/ggate/shared/ggate.c	2016-05-28 21:35:41 UTC (rev 7601)
@@ -131,7 +131,7 @@
 off_t
 g_gate_mediasize(int fd)
 {
-	off_t mediasize;
+	off_t mediasize = 0;
 	struct stat sb;
 
 	if (fstat(fd, &sb) == -1)



More information about the Midnightbsd-cvs mailing list