summaryrefslogtreecommitdiff
path: root/hwclock/hwclock.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 /hwclock/hwclock.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 'hwclock/hwclock.c')
-rw-r--r--hwclock/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 4b4d3ee8..bbacf5dc 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);
}
/*