diff options
author | Doug Ledford <dledford@redhat.com> | 2010-03-17 15:52:22 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-03-23 23:37:34 +0100 |
commit | e259df4e63f553c1271fa7d7612c110d2518e572 (patch) | |
tree | 0acfce8a4fd8b32adbb4c0645b3f2f1a403160db /mapfile.c | |
parent | Create directory to contain mapfile (Assuming parent exists and (diff) | |
download | mdadm-e259df4e63f553c1271fa7d7612c110d2518e572.tar.xz mdadm-e259df4e63f553c1271fa7d7612c110d2518e572.zip |
mapfile: if we putting the mapfile in a custom location via ALT_RUN, allow
a custom filename too.
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mapfile.c')
-rw-r--r-- | mapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ char *mapname[3][3] = { mapnames(VAR_RUN "/map"), mapnames("/var/run/mdadm.map"), - mapnames(ALT_RUN "/map") + mapnames(ALT_RUN "/" ALT_MAPFILE) }; char *mapdir[3] = { VAR_RUN, NULL, ALT_RUN }; |