]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super0.c
Create: add error checking for 'write_init_super'.
[thirdparty/mdadm.git] / super0.c
index 3ae236a82d57b9d8fd7efff4a96b7e5d1d6e3ba8..2c27e1e196c951b6ed0d23cf5bdce05a65b12304 100644 (file)
--- a/super0.c
+++ b/super0.c
@@ -541,7 +541,7 @@ static int update_super0(struct supertype *st, struct mdinfo *info,
                sb->state &= ~(1<<MD_SB_CLEAN);
                sb->recovery_cp = 0;
        } else if (strcmp(update, "homehost") == 0 &&
-           homehost) {
+                  homehost) {
                uuid_set = 0;
                update = "uuid";
                info->uuid[0] = sb->set_uuid0;