diff options
Diffstat (limited to 'sys-utils/zramctl.c')
-rw-r--r-- | sys-utils/zramctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c index a84ce66..cc32ab4 100644 --- a/sys-utils/zramctl.c +++ b/sys-utils/zramctl.c @@ -559,10 +559,10 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -t, --streams <number> number of compression streams\n"), out); fputs(USAGE_SEPARATOR, out); - printf(USAGE_HELP_OPTIONS(27)); + fprintf(out, USAGE_HELP_OPTIONS(27)); fputs(USAGE_ARGUMENTS, out); - printf(USAGE_ARG_SIZE(_("<size>"))); + fprintf(out, USAGE_ARG_SIZE(_("<size>"))); fputs(_(" <alg> specify algorithm, supported are:\n"), out); fputs(_(" lzo, lz4, lz4hc, deflate, 842 and zstd\n"), out); @@ -572,7 +572,7 @@ static void __attribute__((__noreturn__)) usage(void) for (i = 0; i < ARRAY_SIZE(infos); i++) fprintf(out, " %11s %s\n", infos[i].name, _(infos[i].help)); - printf(USAGE_MAN_TAIL("zramctl(8)")); + fprintf(out, USAGE_MAN_TAIL("zramctl(8)")); exit(EXIT_SUCCESS); } |