]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/lsclocks.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / misc-utils / lsclocks.c
index aae31e574fcd70b843c54306b83ec46a87925498..e74f9711c99edeb8e74e453336d59ddba00f2048 100644 (file)
@@ -193,7 +193,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -c, --cpu-clock <pid>      also display CPU clock of specified process\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
-       printf(USAGE_HELP_OPTIONS(29));
+       fprintf(out, USAGE_HELP_OPTIONS(29));
 
        fputs(USAGE_COLUMNS, out);
 
@@ -206,7 +206,7 @@ static void __attribute__((__noreturn__)) usage(void)
                        "<boolean>",
                        _(infos[i].help));
 
-       printf(USAGE_MAN_TAIL("lslocks(1)"));
+       fprintf(out, USAGE_MAN_TAIL("lslocks(1)"));
 
        exit(EXIT_SUCCESS);
 }