summaryrefslogtreecommitdiffstats
path: root/mapfile.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-11-02 21:20:54 +0100
committerNeilBrown <neilb@suse.de>2008-11-02 21:20:54 +0100
commit750b6fe656e31a3717b52cdaca6a3a90346bcbb8 (patch)
tree8fc2683a28df51f809d33a294bddaebb4b64c664 /mapfile.c
parentMerge branch 'master' into scratch-3.0 (diff)
parentmapfile: fix bug in testing for /var/run/mdadm/ (diff)
downloadmdadm-750b6fe656e31a3717b52cdaca6a3a90346bcbb8.tar.xz
mdadm-750b6fe656e31a3717b52cdaca6a3a90346bcbb8.zip
Merge branch 'master' into scratch-3.0
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 955a1f98..14b6df4c 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;