Hi, Here a patch that fixes the problem with --config.
(I had some fights with reportbug, that's why the strace isn't attached to it, i'll attach it this evening) Regards, Matthijs Mohlmann
Status: ok
Fix "--config=partitions" which was broken.
"devline" wants a list of words, not a whole line...
Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
### Diffstat output
./config.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
diff ./config.c~current~ ./config.c
--- ./config.c~current~ 2005-02-04 11:45:23.000000000 +1100
+++ ./config.c 2005-02-14 13:48:09.000000000 +1100
@@ -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;
}
signature.asc
Description: OpenPGP digital signature

