diff options
Diffstat (limited to 'src/mkdir.c')
-rw-r--r-- | src/mkdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index f03f91f36..f5d89b7f3 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -48,7 +48,7 @@ static int path_mode; /* 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[] = @@ -94,7 +94,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |