svn commit: r327830 - stable/11/sbin/mdmfs

Mark Johnston markj at FreeBSD.org
Thu Jan 11 15:32:13 UTC 2018


Author: markj
Date: Thu Jan 11 15:32:12 2018
New Revision: 327830
URL: https://svnweb.freebsd.org/changeset/base/327830

Log:
  MFC r324125 (andreast):
  Initialize mdsize to make gcc happy again.

Modified:
  stable/11/sbin/mdmfs/mdmfs.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sbin/mdmfs/mdmfs.c
==============================================================================
--- stable/11/sbin/mdmfs/mdmfs.c	Thu Jan 11 15:29:29 2018	(r327829)
+++ stable/11/sbin/mdmfs/mdmfs.c	Thu Jan 11 15:32:12 2018	(r327830)
@@ -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-stable-11 mailing list