summaryrefslogtreecommitdiffstats
path: root/misc-utils/fadvise.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
commit8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch)
tree1fdda006866bca20d41cb206767ea5241e36852f /misc-utils/fadvise.c
parentAdding debian version 2.39.3-11. (diff)
downloadutil-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz
util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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);
}