Date: Sat, 30 Sep 2017 17:51:10 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324125 - head/sbin/mdmfs Message-ID: <201709301751.v8UHpAKv067186@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709301751.v8UHpAKv067186>