summaryrefslogtreecommitdiff
path: root/src/who-users.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/who-users.c
parentb34f300eaf19fff8b377e9003968f38e8b1fed12 (diff)
downloadcoreutils-3ee97d4d5bc218455af92a4ebb6ded2378fa2311.tar.xz
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'src/who-users.c')
-rw-r--r--src/who-users.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 2313e4bb5..2418e3c3f 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -51,7 +51,6 @@
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
#if !defined (UTMP_FILE) && defined (_PATH_UTMP) /* 4.4BSD. */
@@ -623,7 +622,7 @@ main (int argc, char **argv)
if (show_version)
{
- printf ("%s - %s\n", COMMAND_NAME, version_string);
+ printf ("%s - %s\n", COMMAND_NAME, PACKAGE_VERSION);
exit (0);
}