aboutsummaryrefslogtreecommitdiff
path: root/ftl_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftl_format.c')
-rw-r--r--ftl_format.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftl_format.c b/ftl_format.c
index ae00c99..bd4203b 100644
--- a/ftl_format.c
+++ b/ftl_format.c
@@ -34,6 +34,8 @@
======================================================================*/
+#define PROGRAM_NAME "ftl_format"
+
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
@@ -308,7 +310,7 @@ int main(int argc, char *argv[])
}
if (errflg || (optind != argc-1)) {
fprintf(stderr, "usage: %s [-q] [-i] [-s spare-blocks]"
- " [-r reserve-percent] [-b bootsize] device\n", argv[0]);
+ " [-r reserve-percent] [-b bootsize] device\n", PROGRAM_NAME);
exit(EXIT_FAILURE);
}