summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.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 /schedutils/taskset.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 'schedutils/taskset.c')
-rw-r--r--schedutils/taskset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/schedutils/taskset.c b/schedutils/taskset.c
index 0872aa2..98c8da1 100644
--- a/schedutils/taskset.c
+++ b/schedutils/taskset.c
@@ -66,7 +66,7 @@ static void __attribute__((__noreturn__)) usage(void)
" -p, --pid operate on existing given pid\n"
" -c, --cpu-list display and specify cpus in list format\n"
));
- printf(USAGE_HELP_OPTIONS(25));
+ fprintf(out, USAGE_HELP_OPTIONS(25));
fputs(USAGE_SEPARATOR, out);
fprintf(out, _(
@@ -82,7 +82,7 @@ static void __attribute__((__noreturn__)) usage(void)
" e.g. 0-31:2 is equivalent to mask 0x55555555\n"),
program_invocation_short_name);
- printf(USAGE_MAN_TAIL("taskset(1)"));
+ fprintf(out, USAGE_MAN_TAIL("taskset(1)"));
exit(EXIT_SUCCESS);
}