]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-mbr.c
imsm: remove redundant characters from some error messages
[thirdparty/mdadm.git] / super-mbr.c
index 0fcac7c3133e3f79d7e556387ddb6a8f4b39fdd2..62b3f03126cbda2a3a19af14cb123f2646cfff7f 100644 (file)
@@ -81,8 +81,7 @@ static int load_super_mbr(struct supertype *st, int fd, char *devname)
        free_mbr(st);
 
        if (posix_memalign((void**)&super, 512, 512) != 0) {
-               pr_err("%s could not allocate superblock\n",
-                       __func__);
+               pr_err("could not allocate superblock\n");
                return 1;
        }
 
@@ -119,8 +118,7 @@ static int store_mbr(struct supertype *st, int fd)
        struct MBR *old, *super;
 
        if (posix_memalign((void**)&old, 512, 512) != 0) {
-               pr_err("%s could not allocate superblock\n",
-                       __func__);
+               pr_err("could not allocate superblock\n");
                return 1;
        }