]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.c
Consistently print program Name and __func__ in debug messages.
[thirdparty/mdadm.git] / mdadm.c
diff --git a/mdadm.c b/mdadm.c
index 475c71ca3f219b1cfc493888007fd24670559c56..fd64e0e31610f18c1a94822dc6dd2911f872b26d 100644 (file)
--- a/mdadm.c
+++ b/mdadm.c
@@ -1617,9 +1617,7 @@ static int scan_assemble(struct supertype *ss,
                        a->autof = c->autof;
        }
        if (map_lock(&map))
-               pr_err("%s: failed to get "
-                      "exclusive lock on mapfile\n",
-                      __func__);
+               pr_err("failed to get exclusive lock on mapfile\n");
        do {
                failures = 0;
                successes = 0;