From f6277500833ece8ea34c65e4d23e1454e054141b Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 28 Sep 2014 20:51:39 +0100 Subject: textual: use version printing macro everywhere Only mount, umount, and blkid remains not using the macro because they are print also library references. Signed-off-by: Sami Kerola --- text-utils/rev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'text-utils/rev.c') diff --git a/text-utils/rev.c b/text-utils/rev.c index f1341cb3d..a661f0a43 100644 --- a/text-utils/rev.c +++ b/text-utils/rev.c @@ -121,8 +121,7 @@ int main(int argc, char *argv[]) while ((ch = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) switch(ch) { case 'V': - printf(_("%s from %s\n"), program_invocation_short_name, - PACKAGE_STRING); + printf(UTIL_LINUX_VERSION); exit(EXIT_SUCCESS); case 'h': usage(stdout); -- cgit v1.2.3-55-g7522