]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Change some "fprintf(stderr,"s to pr_err.
[thirdparty/mdadm.git] / Incremental.c
index e7887faca27f2b83ad065e18d808276007857fe8..0a75e3431a08ab5f3465099169b1ef3a4e3e2b8d 100644 (file)
@@ -530,10 +530,9 @@ int Incremental(char *devname, struct context *c,
                /* Let's try to start it */
 
                if (info.reshape_active && !(info.reshape_active & RESHAPE_NO_BACKUP)) {
-                       fprintf(stderr, Name
-                               ": %s: This array is being reshaped and cannot be started\n"
-                               "      by --incremental.  Please use --assemble\n",
-                               chosen_name);
+                       pr_err("%s: This array is being reshaped and cannot be started\n",
+                              chosen_name);
+                       cont_err("by --incremental.  Please use --assemble\n");
                        goto out;
                }
                if (match && match->bitmap_file) {