]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
mdadm: define DEV_MD_DIR
[thirdparty/mdadm.git] / super1.c
index 938c3a68ce80b12e9525babbb9fc382aa0e74a9c..856b0208266237311bbbcc08f0dbe2909643ecd1 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -645,8 +645,7 @@ static void brief_examine_super1(struct supertype *st, int verbose)
 
        printf("ARRAY ");
        if (nm) {
-               printf("/dev/md/");
-               print_escape(nm);
+               printf(DEV_MD_DIR "%s", nm);
                putchar(' ');
        }
        if (verbose && c)