From: Sami Kerola Date: Sun, 13 Nov 2011 14:14:33 +0000 (+0100) Subject: vipw: stop printing non-sense version string X-Git-Tag: v2.21-rc1~149^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92ba78e24dafcb750d0db89475baee229f692e57;p=thirdparty%2Futil-linux.git vipw: stop printing non-sense version string Signed-off-by: Sami Kerola --- diff --git a/login-utils/vipw.c b/login-utils/vipw.c index 99104d1eab..d46303ecfc 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 #include #include @@ -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); }