summaryrefslogtreecommitdiff
path: root/src/whoami.c
diff options
context:
space:
mode:
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);
}