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