summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.c
diff options
context:
space:
mode:
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);
}