summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-06 00:24:55 +0000
committerJim Meyering <jim@meyering.net>1993-10-06 00:24:55 +0000
commit19cd821ddb4b6c195239870de617a99781e081ce (patch)
tree4b7eb8ba1567cfb257bcbc6f12265d0084bc4bef /src/df.c
parent061697058cd98ffca2a110c9fb736f0dd0c5c459 (diff)
downloadcoreutils-19cd821ddb4b6c195239870de617a99781e081ce.tar.xz
merge with 3.8.3a
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/df.c b/src/df.c
index f3bea7152..35b1896aa 100644
--- a/src/df.c
+++ b/src/df.c
@@ -112,7 +112,7 @@ static struct mount_entry *mount_list;
/* 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[] =
@@ -180,7 +180,7 @@ main (argc, argv)
if (show_version)
{
- fprintf (stderr, "%s\n", version_string);
+ printf ("%s\n", version_string);
exit (0);
}