]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - text-utils/pg.c
Make the ways of using output stream consistent in usage()
[thirdparty/util-linux.git] / text-utils / pg.c
index adb3840be2acfb383f7ab1e4629d22351872f0f9..262187289fe7a51caf93fba97e758cf1f319e2e4 100644 (file)
@@ -247,9 +247,9 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" +/pattern/   start at the line containing pattern\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
-       printf(USAGE_HELP_OPTIONS(16));
+       fprintf(out, USAGE_HELP_OPTIONS(16));
 
-       printf(USAGE_MAN_TAIL("pg(1)"));
+       fprintf(out, USAGE_MAN_TAIL("pg(1)"));
        exit(0);
 }