summaryrefslogtreecommitdiffstats
path: root/disk-utils/blockdev.c
diff options
context:
space:
mode:
authorKarel Zak2013-01-25 12:05:26 +0100
committerKarel Zak2013-01-25 12:05:26 +0100
commite421313dc253856af67cc267d2b33f856f18b0e3 (patch)
tree32e1a54109bf0c3ac9e57057e9e39124a9cde3ce /disk-utils/blockdev.c
parentrenice: accept also -V for --version, and document it (diff)
downloadkernel-qcow2-util-linux-e421313dc253856af67cc267d2b33f856f18b0e3.tar.gz
kernel-qcow2-util-linux-e421313dc253856af67cc267d2b33f856f18b0e3.tar.xz
kernel-qcow2-util-linux-e421313dc253856af67cc267d2b33f856f18b0e3.zip
textual: use UTIL_LINUX_VERSION everywhere
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/blockdev.c')
-rw-r--r--disk-utils/blockdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c
index eb347b79b..4543818bd 100644
--- a/disk-utils/blockdev.c
+++ b/disk-utils/blockdev.c
@@ -229,8 +229,7 @@ int main(int argc, char **argv)
/* -V not together with commands */
if (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version")) {
- printf(_("%s from %s\n"), program_invocation_short_name,
- PACKAGE_STRING);
+ printf(UTIL_LINUX_VERSION);
return EXIT_SUCCESS;
}
if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))