summaryrefslogtreecommitdiff
path: root/flash_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash_info.c')
-rw-r--r--flash_info.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/flash_info.c b/flash_info.c
index f5ed1c6..ad7b30a 100644
--- a/flash_info.c
+++ b/flash_info.c
@@ -2,6 +2,8 @@
* flash_info.c -- print info about a MTD device
*/
+#define PROGRAM_NAME "flash_info"
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@@ -19,7 +21,7 @@ int main(int argc,char *argv[])
if (1 >= argc)
{
- fprintf(stderr,"Usage: flash_info device\n");
+ fprintf(stderr,"Usage: %s device\n", PROGRAM_NAME);
return 16;
}