summaryrefslogtreecommitdiffstats
path: root/hwclock
diff options
context:
space:
mode:
authorKarel Zak2007-07-27 12:12:00 +0200
committerKarel Zak2007-07-27 12:12:00 +0200
commit8e522bb7e9c051a5123e05d8af302b0a1709fe98 (patch)
tree29b7f1e0a791b10cec8a69605d1aa2a33affd13c /hwclock
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 'hwclock')
-rw-r--r--hwclock/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 4b4d3ee82..bbacf5dc1 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -1183,7 +1183,7 @@ manipulate_epoch(const bool getepoch, const bool setepoch,
static void
out_version(void) {
- printf(_("%s from util-linux-%s\n"), MYNAME, PACKAGE_VERSION);
+ printf(_("%s from %s\n"), MYNAME, PACKAGE_STRING);
}
/*