summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--config.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd7dc22..c182cad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Changes Prior to 2.5.6 release
+ - Fix bug which meant "bitmap=xxx" in mdadm.conf was not handled
+ properly.
+
Changes Prior to 2.5.5 release
- Don't #include linux/blkpg.h as that isn't safe. Just
include the content literally.
diff --git a/config.c b/config.c
index d251fbf..38e911a 100644
--- a/config.c
+++ b/config.c
@@ -464,7 +464,7 @@ void arrayline(char *line)
fprintf(stderr, Name ": only specify bitmap file once. %s ignored\n",
w);
else
- mis.bitmap_file = w+7;
+ mis.bitmap_file = strdup(w+7);
} else if (strncasecmp(w, "devices=", 8 ) == 0 ) {
if (mis.devices)