summaryrefslogtreecommitdiff
path: root/src/whoami.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-16 16:14:26 +0000
committerJim Meyering <jim@meyering.net>1996-03-16 16:14:26 +0000
commit3ee97d4d5bc218455af92a4ebb6ded2378fa2311 (patch)
tree49e8b0df75efb8db27d6df7f624bfdd20a80cb6c /src/whoami.c
parentb34f300eaf19fff8b377e9003968f38e8b1fed12 (diff)
downloadcoreutils-3ee97d4d5bc218455af92a4ebb6ded2378fa2311.tar.xz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/whoami.c')
-rw-r--r--src/whoami.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/whoami.c b/src/whoami.c
index 0bd3cddde..2e2c56819 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -24,7 +24,6 @@
#include <pwd.h>
#include <getopt.h>
-#include "version.h"
#include "system.h"
/* The name this program was run with. */
@@ -88,7 +87,7 @@ main (int argc, char **argv)
if (show_version)
{
- printf ("whoami - %s\n", version_string);
+ printf ("whoami - %s\n", PACKAGE_VERSION);
exit (0);
}