]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super1.c
config: restore the possibility of a NULL homehost
[thirdparty/mdadm.git] / super1.c
index 79bb4d0cdcaf10c2dd95840e283e4f06eb7983af..9ba1ded4e00d152d28d413af20eeeb3c002559e3 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -772,7 +772,7 @@ static int update_super1(struct supertype *st, struct mdinfo *info,
        } else if (strcmp(update, "no-bitmap") == 0) {
                sb->feature_map &= ~__cpu_to_le32(MD_FEATURE_BITMAP_OFFSET);
        } else if (strcmp(update, "homehost") == 0 &&
-           homehost) {
+                  homehost) {
                char *c;
                update = "name";
                c = strchr(sb->set_name, ':');