summaryrefslogtreecommitdiffstats
path: root/sys-utils/rtcwake.c
diff options
context:
space:
mode:
authorKarel Zak2013-03-26 11:45:45 +0100
committerKarel Zak2013-03-26 11:45:45 +0100
commit7528fae9e9baa8cdc71696faf651ab076856aa30 (patch)
treeca835ba98f7e20335b9457188b73cdbe4e88090a /sys-utils/rtcwake.c
parentrtcwake: add --adjfile command line option (diff)
downloadkernel-qcow2-util-linux-7528fae9e9baa8cdc71696faf651ab076856aa30.tar.gz
kernel-qcow2-util-linux-7528fae9e9baa8cdc71696faf651ab076856aa30.tar.xz
kernel-qcow2-util-linux-7528fae9e9baa8cdc71696faf651ab076856aa30.zip
include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/rtcwake.c')
-rw-r--r--sys-utils/rtcwake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c
index f233f506e..d7f193b05 100644
--- a/sys-utils/rtcwake.c
+++ b/sys-utils/rtcwake.c
@@ -60,7 +60,7 @@ enum ClockMode {
CM_LOCAL
};
-static char *adjfile = _PATH_ADJPATH;
+static char *adjfile = _PATH_ADJTIME;
static unsigned verbose;
static unsigned dryrun;
enum ClockMode clock_mode = CM_AUTO;
@@ -74,7 +74,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
fputs(USAGE_OPTIONS, out);
fprintf(out,
_(" -A, --adjfile <file> specifies the path to the adjust file\n"
- " the default is %s\n"), _PATH_ADJPATH);
+ " the default is %s\n"), _PATH_ADJTIME);
fputs(_(" -d, --device <device> select rtc device (rtc0|rtc1|...)\n"
" -n, --dry-run does everything, but suspend\n"
" -l, --local RTC uses local timezone\n"