]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - login-utils/chsh.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / login-utils / chsh.c
index 31750d558c6abe58486808835216de702aa523c4..f076d36e568d6c3c72504ed5025ad3a451558903 100644 (file)
@@ -77,9 +77,9 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -l, --list-shells    print list of shells and exit\n"), fp);
 
        fputs(USAGE_SEPARATOR, fp);
-       printf(USAGE_HELP_OPTIONS(22));
+       fprintf(fp, USAGE_HELP_OPTIONS(22));
 
-       printf(USAGE_MAN_TAIL("chsh(1)"));
+       fprintf(fp, USAGE_MAN_TAIL("chsh(1)"));
        exit(EXIT_SUCCESS);
 }