]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Query.c
Introduce pr_err for printing error messages.
[thirdparty/mdadm.git] / Query.c
diff --git a/Query.c b/Query.c
index 0b15e286ea80e690d0f1db9aa3a2f68ac4e4faa1..b9c209f7993a39513592fdbbc28eb5740504dec6 100644 (file)
--- a/Query.c
+++ b/Query.c
@@ -47,7 +47,7 @@ int Query(char *dev)
        char *activity;
 
        if (fd < 0){
-               fprintf(stderr, Name ": cannot open %s: %s\n",
+               pr_err("cannot open %s: %s\n",
                        dev, strerror(errno));
                return 1;
        }