summaryrefslogtreecommitdiffstats
path: root/login-utils/vipw.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/vipw.c')
-rw-r--r--login-utils/vipw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/login-utils/vipw.c b/login-utils/vipw.c
index 99104d1ea..d46303ecf 100644
--- a/login-utils/vipw.c
+++ b/login-utils/vipw.c
@@ -44,8 +44,6 @@
* - fixed strerr(errno) in gettext calls
*/
-static char version_string[] = "vipw 1.4";
-
#include <sys/types.h>
#include <sys/stat.h>
#include <pwd.h>
@@ -313,7 +311,7 @@ int main(int argc, char *argv[]) {
if ((argc > 1) &&
(!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version"))) {
- printf("%s\n", version_string);
+ printf(UTIL_LINUX_VERSION);
exit(EXIT_SUCCESS);
}