diff options
Diffstat (limited to 'src/chown.c')
-rw-r--r-- | src/chown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chown.c b/src/chown.c index 37346aec9..6c9678137 100644 --- a/src/chown.c +++ b/src/chown.c @@ -85,7 +85,7 @@ static char *groupname; /* 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[] = @@ -141,7 +141,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |