From: Zhilong Liu Date: Tue, 2 Aug 2016 09:18:40 +0000 (-0400) Subject: mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap X-Git-Tag: mdadm-4.0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19a149c72f54d58da6dea0c5fe3b1a72c7873bb;p=thirdparty%2Fmdadm.git mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap mdadm: 'clustered' bitmap has already supported, thus add the prompt if users specify wrong value for bitmap param. Signed-off-by: Zhilong Liu Signed-off-by: Jes Sorensen --- diff --git a/mdadm.c b/mdadm.c index 58ac32a0..cca09331 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);