summaryrefslogtreecommitdiffstats
path: root/misc-utils
diff options
context:
space:
mode:
authorKarel Zak2007-07-27 12:12:00 +0200
committerKarel Zak2007-07-27 12:12:00 +0200
commit8e522bb7e9c051a5123e05d8af302b0a1709fe98 (patch)
tree29b7f1e0a791b10cec8a69605d1aa2a33affd13c /misc-utils
parentbuild-sys: fix directories in EXTRA_DIST (diff)
downloadkernel-qcow2-util-linux-8e522bb7e9c051a5123e05d8af302b0a1709fe98.tar.gz
kernel-qcow2-util-linux-8e522bb7e9c051a5123e05d8af302b0a1709fe98.tar.xz
kernel-qcow2-util-linux-8e522bb7e9c051a5123e05d8af302b0a1709fe98.zip
remove hardcoded package name from some utils
We have PACKAGE_STRING in config.h that includes package name and version. It's better to use this macro that hardcoded strings. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/kill.c b/misc-utils/kill.c
index 824735b4a..579ae8ab5 100644
--- a/misc-utils/kill.c
+++ b/misc-utils/kill.c
@@ -186,7 +186,7 @@ int main (int argc, char *argv[])
}
if (! strcmp (arg, "-v") || ! strcmp (arg, "-V") ||
! strcmp (arg, "--version")) {
- printf(_("%s from %s%s\n"), progname, "util-linux-", VERSION);
+ printf(_("%s from %s\n"), progname, PACKAGE_STRING);
return 0;
}
if (! strcmp (arg, "-a")) {