summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ln.c b/src/ln.c
index e2ddda982..f8cf11e52 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -89,7 +89,7 @@ static int hard_dir_link;
/* 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[] =
@@ -173,7 +173,7 @@ main (argc, argv)
if (show_version)
{
- fprintf (stderr, "%s\n", version_string);
+ printf ("%s\n", version_string);
exit (0);
}