diff options
Diffstat (limited to 'src/mknod.c')
-rw-r--r-- | src/mknod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mknod.c b/src/mknod.c index e4e3ad2f7..74efa86b2 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -44,7 +44,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[] = @@ -84,7 +84,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |