svn commit: r324125 - head/sbin/mdmfs

Andreas Tobler andreast at FreeBSD.org
Sat Sep 30 17:51:12 UTC 2017


Author: andreast
Date: Sat Sep 30 17:51:10 2017
New Revision: 324125
URL: https://svnweb.freebsd.org/changeset/base/324125

Log:
  Initialize mdsize to make gcc happy again. This fixes buildworld on powerpc.
  
  Reviewed by:	ian@

Modified:
  head/sbin/mdmfs/mdmfs.c

Modified: head/sbin/mdmfs/mdmfs.c
==============================================================================
--- head/sbin/mdmfs/mdmfs.c	Sat Sep 30 17:30:22 2017	(r324124)
+++ head/sbin/mdmfs/mdmfs.c	Sat Sep 30 17:51:10 2017	(r324125)
@@ -117,6 +117,7 @@ main(int argc, char **argv)
 	mdtype = MD_SWAP;
 	mdname = MD_NAME;
 	mdnamelen = strlen(mdname);
+	mdsize = 0;
 	/*
 	 * Can't set these to NULL.  They may be passed to the
 	 * respective programs without modification.  I.e., we may not


More information about the svn-src-head mailing list