]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Replace "none" with macro
[thirdparty/mdadm.git] / Incremental.c
index 52e396237e64f54ef331e806bc9e845b849f7e59..6cbc164a27b93bc3ad48bcd23626713489a513b9 100644 (file)
@@ -670,7 +670,7 @@ static void find_reject(int mdfd, struct supertype *st, struct mdinfo *sra,
                        continue;
 
                if (d->disk.raid_disk > -1)
-                       sysfs_set_str(sra, d, "slot", "none");
+                       sysfs_set_str(sra, d, "slot", STR_COMMON_NONE);
                if (sysfs_set_str(sra, d, "state", "remove") == 0)
                        if (verbose >= 0)
                                pr_err("removing old device %s from %s\n",