summaryrefslogtreecommitdiffstats
path: root/misc-utils/fadvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/fadvise.c')
-rw-r--r--misc-utils/fadvise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/fadvise.c b/misc-utils/fadvise.c
index 9606fb4..0b8cbb0 100644
--- a/misc-utils/fadvise.c
+++ b/misc-utils/fadvise.c
@@ -55,7 +55,7 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -o, --offset <num> offset for range operations, in bytes\n"), out);
fputs(USAGE_SEPARATOR, out);
- printf(USAGE_HELP_OPTIONS(23));
+ fprintf(out, USAGE_HELP_OPTIONS(23));
fputs(_("\nAvailable values for advice:\n"), out);
for (i = 0; i < ARRAY_SIZE(advices); i++) {
@@ -63,7 +63,7 @@ static void __attribute__((__noreturn__)) usage(void)
advices[i].name);
}
- printf(USAGE_MAN_TAIL("fadvise(1)"));
+ fprintf(out, USAGE_MAN_TAIL("fadvise(1)"));
exit(EXIT_SUCCESS);
}