summaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r--sbin/mdmfs/mdmfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mdmfs/mdmfs.c b/sbin/mdmfs/mdmfs.c
index 4ea4709..9d4095c 100644
--- a/sbin/mdmfs/mdmfs.c
+++ b/sbin/mdmfs/mdmfs.c
@@ -386,7 +386,7 @@ do_mdconfig_attach_au(const char *args, const enum md_types mdtype)
/* Receive the unit number. */
if (norun) { /* Since we didn't run, we can't read. Fake it. */
- unit = -1;
+ unit = 0;
return;
}
sfd = fdopen(fd, "r");
OpenPOWER on IntegriCloud