summaryrefslogtreecommitdiffstats
path: root/sys-utils/chmem.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 /sys-utils/chmem.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 '')
-rw-r--r--sys-utils/chmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/chmem.c b/sys-utils/chmem.c
index 09d0af6..4e79859 100644
--- a/sys-utils/chmem.c
+++ b/sys-utils/chmem.c
@@ -348,13 +348,13 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -b, --blocks use memory blocks\n"), out);
fputs(_(" -z, --zone <name> select memory zone (see below)\n"), out);
fputs(_(" -v, --verbose verbose output\n"), out);
- printf(USAGE_HELP_OPTIONS(20));
+ fprintf(out, USAGE_HELP_OPTIONS(20));
fputs(_("\nSupported zones:\n"), out);
for (i = 0; i < ARRAY_SIZE(zone_names); i++)
fprintf(out, " %s\n", zone_names[i]);
- printf(USAGE_MAN_TAIL("chmem(8)"));
+ fprintf(out, USAGE_MAN_TAIL("chmem(8)"));
exit(EXIT_SUCCESS);
}