diff options
author | Neil Brown <neilb@suse.de> | 2005-04-04 07:44:43 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-04-04 07:44:43 +0200 |
commit | b568741513da4cc6284815345473f67f7cdee1df (patch) | |
tree | 1fd6393016ab4a4207af0fc943a8e44d8a4ec0b2 /config.c | |
parent | Add ANNOUNCE-1.8.1 (diff) | |
download | 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; } |