summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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