diff options
Diffstat (limited to 'src/mkfifo.c')
-rw-r--r-- | src/mkfifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index ce8a7924c..4b16d1254 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -39,7 +39,7 @@ char *program_name; /* If non-zero, display usage information and exit. */ static int show_help; -/* If non-zero, print the version on standard error. */ +/* If non-zero, print the version on standard output and exit. */ static int show_version; static struct option const longopts[] = @@ -83,7 +83,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |