diff options
Diffstat (limited to 'src/du.c')
-rw-r--r-- | src/du.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -158,7 +158,7 @@ static int exit_status; /* 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 long_options[] = @@ -260,7 +260,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |