File 0056-mdadm-add-clustered-in-typo-prompt-when-specify-wron.patch of Package mdadm.7129
From e19a149c72f54d58da6dea0c5fe3b1a72c7873bb Mon Sep 17 00:00:00 2001
From: Zhilong Liu <zlliu@suse.com>
Date: Tue, 2 Aug 2016 05:18:40 -0400
Subject: [PATCH 284/359] mdadm:add 'clustered' in typo prompt when specify
wrong param for bitmap
References: bsc#991861
mdadm: 'clustered' bitmap has already supported, thus add the
prompt if users specify wrong value for bitmap param.
Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Coly Li <colyli@suse.de>
---
mdadm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mdadm.c b/mdadm.c
index 58ac32a..cca0933 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1142,7 +1142,7 @@ int main(int argc, char *argv[])
continue;
}
/* probable typo */
- pr_err("bitmap file must contain a '/', or be 'internal', or 'none'\n"
+ pr_err("bitmap file must contain a '/', or be 'internal', or be 'clustered', or 'none'\n"
" not '%s'\n", optarg);
exit(2);
--
2.16.1