summaryrefslogtreecommitdiffstats
path: root/login-utils/su.c
diff options
context:
space:
mode:
authorJim Meyering1996-03-16 17:14:26 +0100
committerJim Meyering1996-03-16 17:14:26 +0100
commit1c851175718ffed86e9a5494b8172506ebf136b4 (patch)
tree4ce043a075176142ee287aa7b9cb2a35201953ed /login-utils/su.c
parent(main): Initialize for internationalized message support: (diff)
downloadkernel-qcow2-util-linux-1c851175718ffed86e9a5494b8172506ebf136b4.tar.gz
kernel-qcow2-util-linux-1c851175718ffed86e9a5494b8172506ebf136b4.tar.xz
kernel-qcow2-util-linux-1c851175718ffed86e9a5494b8172506ebf136b4.zip
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Diffstat (limited to 'login-utils/su.c')
-rw-r--r--login-utils/su.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/su.c b/login-utils/su.c
index 25168fc14..81c9adba0 100644
--- a/login-utils/su.c
+++ b/login-utils/su.c
@@ -113,7 +113,6 @@ uid_t getuid ();
#include <shadow.h>
#endif
-#include "version.h"
#include "error.h"
/* The default PATH for simulated logins to non-superuser accounts. */
@@ -239,7 +238,7 @@ main (argc, argv)
if (show_version)
{
- printf ("su - %s\n", version_string);
+ printf ("su - %s\n", PACKAGE_VERSION);
exit (0);
}