summaryrefslogtreecommitdiff
path: root/misc-utils/kill.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2007-07-27 12:12:00 +0200
committerKarel Zak <kzak@redhat.com>2007-07-27 12:12:00 +0200
commit8e522bb7e9c051a5123e05d8af302b0a1709fe98 (patch)
tree29b7f1e0a791b10cec8a69605d1aa2a33affd13c /misc-utils/kill.c
parent9645b5cbe989e7c11d4481573e9f29088b09970d (diff)
downloadutil-linux-old-8e522bb7e9c051a5123e05d8af302b0a1709fe98.tar.gz
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/kill.c')
-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 824735b4..579ae8ab 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")) {