summaryrefslogtreecommitdiff
path: root/ubi-utils/src/mtdinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/mtdinfo.c')
-rw-r--r--ubi-utils/src/mtdinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ubi-utils/src/mtdinfo.c b/ubi-utils/src/mtdinfo.c
index 820c16d..666d739 100644
--- a/ubi-utils/src/mtdinfo.c
+++ b/ubi-utils/src/mtdinfo.c
@@ -111,13 +111,13 @@ static int parse_opt(int argc, char * const argv[])
break;
case 'h':
- fprintf(stderr, "%s\n\n", doc);
- fprintf(stderr, "%s\n\n", usage);
- fprintf(stderr, "%s\n", optionsstr);
+ printf("%s\n\n", doc);
+ printf("%s\n\n", usage);
+ printf("%s\n", optionsstr);
exit(EXIT_SUCCESS);
case 'V':
- fprintf(stderr, "%s\n", PROGRAM_VERSION);
+ printf("%s\n", PROGRAM_VERSION);
exit(EXIT_SUCCESS);
case ':':