summaryrefslogtreecommitdiffstats
path: root/term-utils/write.c
diff options
context:
space:
mode:
authorSami Kerola2014-09-28 21:51:39 +0200
committerKarel Zak2014-10-01 12:33:23 +0200
commitf6277500833ece8ea34c65e4d23e1454e054141b (patch)
tree87bc29ddf9ecf5c9aaab3a51d20d16fb23c32376 /term-utils/write.c
parentflock: add error message to translations (diff)
downloadkernel-qcow2-util-linux-f6277500833ece8ea34c65e4d23e1454e054141b.tar.gz
kernel-qcow2-util-linux-f6277500833ece8ea34c65e4d23e1454e054141b.tar.xz
kernel-qcow2-util-linux-f6277500833ece8ea34c65e4d23e1454e054141b.zip
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 <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/write.c')
-rw-r--r--term-utils/write.c4
1 files changed, 1 insertions, 3 deletions
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);