Add "Name" defines to some ancillary programs

All programs now need to declare their "Name".

Signed-off-by: NeilBrown <neilb@suse.de>
Fixes: d56dd607ba ("Change way of printing name of a process")
This commit is contained in:
NeilBrown 2015-05-07 14:46:05 +10:00
parent d180d2aa2a
commit 42129b3f80
2 changed files with 3 additions and 0 deletions

View 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,

View 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...