aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/readprofile.c
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2023-10-25 02:21:45 +0900
committerMasatake YAMATO <yamato@redhat.com>2023-10-25 02:21:45 +0900
commitbad4c729483ab31bb1cadc541817c139f41fb8aa (patch)
tree402b225cf473669053486d1edfcc2bab7806785e /sys-utils/readprofile.c
parent38b8eac6eb9a372e0a2b9c8f2b4abb816c6f17ee (diff)
downloadutil-linux-bad4c729483ab31bb1cadc541817c139f41fb8aa.tar.gz
Make the ways of using output stream consistent in usage()
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Diffstat (limited to 'sys-utils/readprofile.c')
-rw-r--r--sys-utils/readprofile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/readprofile.c b/sys-utils/readprofile.c
index 579902d50a..e810ea5e1b 100644
--- a/sys-utils/readprofile.c
+++ b/sys-utils/readprofile.c
@@ -124,8 +124,8 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -r, --reset reset all the counters (root only)\n"), out);
fputs(_(" -n, --no-auto disable byte order auto-detection\n"), out);
fputs(USAGE_SEPARATOR, out);
- printf(USAGE_HELP_OPTIONS(27));
- printf(USAGE_MAN_TAIL("readprofile(8)"));
+ fprintf(out, USAGE_HELP_OPTIONS(27));
+ fprintf(out, USAGE_MAN_TAIL("readprofile(8)"));
exit(EXIT_SUCCESS);
}