summaryrefslogtreecommitdiffstats
path: root/mapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mapfile.c')
-rw-r--r--mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapfile.c b/mapfile.c
index 746073d..f616f15 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -53,7 +53,7 @@ int map_write(struct map_ent *mel)
f = fopen("/var/run/mdadm/map.new", "w");
if (!f) {
f = fopen("/var/run/mdadm.map.new", "w");
- subdir = 1;
+ subdir = 0;
}
if (!f)
return 0;