]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap
authorZhilong Liu <zlliu@suse.com>
Tue, 2 Aug 2016 09:18:40 +0000 (05:18 -0400)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 2 Aug 2016 14:06:43 +0000 (10:06 -0400)
  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>
mdadm.c

diff --git a/mdadm.c b/mdadm.c
index 58ac32a0fb21785a9c46da390f15b4b58dca9aa3..cca093318d8d2d5f81e09188f624e06a575e2fba 100644 (file)
--- 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);