]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Add "Name" defines to some ancillary programs
authorNeilBrown <neilb@suse.de>
Thu, 7 May 2015 04:46:05 +0000 (14:46 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 7 May 2015 04:46:05 +0000 (14:46 +1000)
All programs now need to declare their "Name".

Signed-off-by: NeilBrown <neilb@suse.de>
Fixes: d56dd607ba43 ("Change way of printing name of a process")
raid6check.c
restripe.c

index 76e57a7b8c156f874b005173981bcc1915035fae..66c3eea0805b8ebee320efd7ff725af101ba4d16 100644 (file)
@@ -30,6 +30,8 @@
 #define CHECK_PAGE_BITS (12)
 #define CHECK_PAGE_SIZE (1 << CHECK_PAGE_BITS)
 
+char const Name[] = "raid6check";
+
 enum repair {
        NO_REPAIR = 0,
        MANUAL_REPAIR,
index 6eebb9059f0ab39fa89fdf4ed835384a242d432b..30849b7680436df147cc5fa3a6d9e6ecc2fd45d0 100644 (file)
@@ -882,6 +882,7 @@ unsigned long long getnum(char *str, char **err)
        return rv;
 }
 
+char const Name[] = "test_restripe";
 main(int argc, char *argv[])
 {
        /* save/restore file raid_disks chunk_size level layout start length devices...