aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@FreeBSD.org>2017-09-30 17:51:10 +0000
committerAndreas Tobler <andreast@FreeBSD.org>2017-09-30 17:51:10 +0000
commitf3b5058c8ef9351b64b71188748d503ee714f70f (patch)
treeecae3d942a8383a0bb5fef2c7332385969b42796 /sbin/mdmfs
parent748f120f7c3b6ff307cd97c6a516ba01307b5be6 (diff)
downloadsrc-f3b5058c8ef9351b64b71188748d503ee714f70f.tar.gz
src-f3b5058c8ef9351b64b71188748d503ee714f70f.zip
Initialize mdsize to make gcc happy again. This fixes buildworld on powerpc.
Reviewed by: ian@
Notes
Notes: svn path=/head/; revision=324125
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r--sbin/mdmfs/mdmfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mdmfs/mdmfs.c b/sbin/mdmfs/mdmfs.c
index d2089f2b0407..ee2faf0dcbaf 100644
--- a/sbin/mdmfs/mdmfs.c
+++ b/sbin/mdmfs/mdmfs.c
@@ -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