Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 15:32:12 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r327830 - stable/11/sbin/mdmfs
Message-ID:  <201801111532.w0BFWC2V086896@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111532.w0BFWC2V086896>