]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Grow: fix a couple of typos with --assume-clean usage
authorNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 00:35:41 +0000 (11:35 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 18 Oct 2012 04:40:12 +0000 (15:40 +1100)
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c

diff --git a/Grow.c b/Grow.c
index dbd4ae53ead0ca709279d25292c22a5b33663af6..a700b04bb6c581dab0818bd3ccc0db16310be6a3 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -1775,12 +1775,12 @@ size_change_error:
                        goto release;
                }
                if (assume_clean) {
-                       /* This will fail on kernels newer than 3.0 unless
+                       /* This will fail on kernels older than 3.0 unless
                         * a backport has been arranged.
                         */
                        if (sra == NULL ||
                            sysfs_set_str(sra, NULL, "resync_start", "none") < 0)
-                               fprintf(stderr, Name ": --assume-clean not support with --grow on this kernel\n");
+                               fprintf(stderr, Name ": --assume-clean not supported with --grow on this kernel\n");
                }
                ioctl(fd, GET_ARRAY_INFO, &array);
                size = get_component_size(fd)/2;