#define _PATH_DEV_BYPARTUUID "/dev/disk/by-partuuid"
/* hwclock paths */
-#define _PATH_ADJPATH "/etc/adjtime"
+# define _PATH_ADJTIME "/etc/adjtime"
+
#define _PATH_LASTDATE "/var/lib/lastdate"
#ifdef __ia64__
# define _PATH_RTC_DEV "/dev/efirtc"
" --noadjfile do not access %s; this requires the use of\n"
" either --utc or --localtime\n"
" --adjfile <file> specifies the path to the adjust file;\n"
- " the default is %s\n"), _PATH_ADJPATH, _PATH_ADJPATH);
+ " the default is %s\n"), _PATH_ADJTIME, _PATH_ADJTIME);
fputs(_(" --test do not update anything, just show what would happen\n"
" -D, --debug debugging mode\n" "\n"), usageto);
#ifdef __alpha__
}
if (!adj_file_name)
- adj_file_name = _PATH_ADJPATH;
+ adj_file_name = _PATH_ADJTIME;
if (noadjfile && !utc && !local_opt) {
warnx(_("With --noadjfile, you must specify "
CM_LOCAL
};
-static char *adjfile = _PATH_ADJPATH;
+static char *adjfile = _PATH_ADJTIME;
static unsigned verbose;
static unsigned dryrun;
enum ClockMode clock_mode = CM_AUTO;
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"