diff options
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touch.c b/src/touch.c index ae5b82c12..152a27e84 100644 --- a/src/touch.c +++ b/src/touch.c @@ -95,7 +95,7 @@ static struct stat ref_stats; /* 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[] = @@ -195,7 +195,7 @@ main (argc, argv) if (show_version) { - fprintf (stderr, "%s\n", version_string); + printf ("%s\n", version_string); exit (0); } |