summaryrefslogtreecommitdiff
path: root/Build.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build.c')
-rw-r--r--Build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build.c b/Build.c
index 1e751d13..789aca45 100644
--- a/Build.c
+++ b/Build.c
@@ -113,8 +113,8 @@ int Build(char *mddev, int chunk, int level, int layout,
break;
}
- /* We need to create the device */
- mdfd = create_mddev(mddev, autof);
+ /* We need to create the device. It can have no name. */
+ mdfd = create_mddev(mddev, NULL, autof, LOCAL, NULL);
if (mdfd < 0)
return 1;