summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/vinum/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c
index 2611f17..4e35946 100644
--- a/sbin/vinum/commands.c
+++ b/sbin/vinum/commands.c
@@ -83,7 +83,7 @@ vinum_create(int argc, char *argv[], char *arg0[])
fprintf(stderr, "Can't open %s: %s\n", argv[0], strerror(errno));
return;
}
- if (ioctl(superdev, VINUM_STARTCONFIG, NULL)) { /* can't get config? */
+ if (ioctl(superdev, VINUM_STARTCONFIG, &force)) { /* can't get config? */
printf("Can't configure: %s (%d)\n", strerror(errno), errno);
return;
}
OpenPOWER on IntegriCloud