summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubirsvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/ubirsvol.c')
-rw-r--r--ubi-utils/src/ubirsvol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ubi-utils/src/ubirsvol.c b/ubi-utils/src/ubirsvol.c
index 34321b8..65f579c 100644
--- a/ubi-utils/src/ubirsvol.c
+++ b/ubi-utils/src/ubirsvol.c
@@ -140,9 +140,9 @@ static int parse_opt(int argc, char * const argv[])
case 'h':
case '?':
- 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':