]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - schedutils/ionice.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / schedutils / ionice.c
index 8be83dfe89ce09f6929f50f32629d3426a41f992..e8d39173feb44f0bbf6715527fe52f1985660d1c 100644 (file)
@@ -123,9 +123,9 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -u, --uid <uid>...     act on already running processes owned by these users\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
-       printf(USAGE_HELP_OPTIONS(24));
+       fprintf(out, USAGE_HELP_OPTIONS(24));
 
-       printf(USAGE_MAN_TAIL("ionice(1)"));
+       fprintf(out, USAGE_MAN_TAIL("ionice(1)"));
 
        exit(EXIT_SUCCESS);
 }