]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - login-utils/nologin.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / login-utils / nologin.c
index ecbd0d2fec08708e0343f9db74aa596694f3c6c9..85ef3f002b408c14024e0764f640aea05f9f20eb 100644 (file)
@@ -32,9 +32,9 @@ static void __attribute__((__noreturn__)) usage(void)
 
        fputs(USAGE_OPTIONS, out);
        fputs(_(" -c, --command <command>  does nothing (for compatibility with su -c)\n"), out);
-       printf(USAGE_HELP_OPTIONS(26));
+       fprintf(out, USAGE_HELP_OPTIONS(26));
 
-       printf(USAGE_MAN_TAIL("nologin(8)"));
+       fprintf(out, USAGE_MAN_TAIL("nologin(8)"));
        exit(EXIT_FAILURE);
 }