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 --- schedutils/chrt.c | 3 +-- schedutils/taskset.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'schedutils') diff --git a/schedutils/chrt.c b/schedutils/chrt.c index fec26fd55..df115aaf6 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -261,8 +261,7 @@ int main(int argc, char **argv) verbose = 1; break; case 'V': - printf(_("%s from %s\n"), program_invocation_short_name, - PACKAGE_STRING); + printf(UTIL_LINUX_VERSION); return EXIT_SUCCESS; case 'h': ret = EXIT_SUCCESS; diff --git a/schedutils/taskset.c b/schedutils/taskset.c index 6ebca0636..4cda2ebe5 100644 --- a/schedutils/taskset.c +++ b/schedutils/taskset.c @@ -162,8 +162,7 @@ int main(int argc, char **argv) ts.use_list = 1; break; 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