summaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.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 /disk-utils/cfdisk.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 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index e07278ffb..13e98b4b2 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -2065,8 +2065,7 @@ int main(int argc, char *argv[])
_("unsupported color mode"));
break;
case 'V':
- printf(_("%s from %s\n"), program_invocation_short_name,
- PACKAGE_STRING);
+ printf(UTIL_LINUX_VERSION);
return EXIT_SUCCESS;
case 'z':
cf->zero_start = 1;