]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - config.c
Replace "none" with macro
[thirdparty/mdadm.git] / config.c
index 5f12a1f8641c340f49764566cae9f4a8f072d408..9a04cae85f52740b380d3fa89892ee29f364afe8 100644 (file)
--- a/config.c
+++ b/config.c
@@ -998,7 +998,7 @@ void load_conffile(void)
                dl_add(list, dl_strdup("partitions"));
                devline(list);
                free_line(list);
-       } else if (strcmp(conffile, "none") != 0) {
+       } else if (str_is_none(conffile) == false) {
                f = fopen(conffile, "r");
                /* Debian chose to relocate mdadm.conf into /etc/mdadm/.
                 * To allow Debian users to compile from clean source and still