]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: FIX: Wrong output string format
authorAdam Kwolek <adam.kwolek@intel.com>
Tue, 8 Feb 2011 13:30:37 +0000 (14:30 +0100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Feb 2011 02:47:55 +0000 (13:47 +1100)
On wrong starting container reshape conditions, mdadm returns information on console:
mdadmimsm: Operation is not allowed on this container

it is changed to:
mdadm: (imsm) Operation is not allowed on this container

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c

index 59356e05e9b87137da19d63adfed3fb51c5beb34..6a21b26b8b4640b957036e15a275775f89195f72 100644 (file)
@@ -7097,8 +7097,8 @@ static int imsm_reshape_super(struct supertype *st, long long size, int level,
                                free(u);
 
                } else {
-                       fprintf(stderr, Name "imsm: Operation is not allowed "
-                               "on this container\n");
+                       fprintf(stderr, Name ": (imsm) Operation "
+                               "is not allowed on this container\n");
                }
        } else {
                /* On volume level we support following operations