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 --- term-utils/write.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'term-utils/write.c') diff --git a/term-utils/write.c b/term-utils/write.c index 146f4ba5e..4d217c4a5 100644 --- a/term-utils/write.c +++ b/term-utils/write.c @@ -110,9 +110,7 @@ int main(int argc, char **argv) while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) switch (c) { case 'V': - printf(_("%s from %s\n"), - program_invocation_short_name, - PACKAGE_STRING); + printf(UTIL_LINUX_VERSION); return EXIT_SUCCESS; case 'h': usage(stdout); -- cgit v1.2.3-55-g7522