diff options
author | Neil Brown <neilb@suse.de> | 2005-04-04 05:44:43 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-04-04 05:44:43 +0000 |
commit | b568741513da4cc6284815345473f67f7cdee1df (patch) | |
tree | 1fd6393016ab4a4207af0fc943a8e44d8a4ec0b2 /config.c | |
parent | baa5f1c2a09dab0f433a7b44535079fee76f0c81 (diff) | |
download | mdadm-b568741513da4cc6284815345473f67f7cdee1df.tar.gz mdadm-b568741513da4cc6284815345473f67f7cdee1df.tar.xz mdadm-b568741513da4cc6284815345473f67f7cdee1df.zip |
Fix "--config=partitions" which was broken.
"devline" wants a list of words, not a whole line...
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -421,7 +421,11 @@ void load_conffile(char *conffile) return; } if (strcmp(conffile, "partitions")==0) { - devline("DEV partitions"); + char *list = dl_strdup("DEV"); + dl_init(list); + dl_add(list, dl_strdup("partitions")); + devline(list); + free_line(list); loaded = 1; return; } |