]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - misc-utils/logger.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / misc-utils / logger.c
index 5fe8b2ac6c9a0e1a29b3bd7d8844225130b29943..9fcf171d3360d9a942c9f4c62ec80b49836c0e9e 100644 (file)
@@ -1091,8 +1091,8 @@ static void __attribute__((__noreturn__)) usage(void)
 #endif
 
        fputs(USAGE_SEPARATOR, out);
-       printf(USAGE_HELP_OPTIONS(26));
-       printf(USAGE_MAN_TAIL("logger(1)"));
+       fprintf(out, USAGE_HELP_OPTIONS(26));
+       fprintf(out, USAGE_MAN_TAIL("logger(1)"));
 
        exit(EXIT_SUCCESS);
 }