unsigned long epoch;
if (get_epoch_rtc(ctl, &epoch))
- warnx(_
- ("Unable to get the epoch value from the kernel."));
+ warnx(_("unable to read the RTC epoch."));
else
- printf(_("Kernel is assuming an epoch value of %lu\n"),
- epoch);
+ printf(_("The RTC epoch is set to %lu.\n"), epoch);
} else if (ctl->setepoch) {
if (!ctl->epoch_option)
- warnx(_
- ("To set the epoch value, you must use the 'epoch' "
- "option to tell to what value to set it."));
+ warnx(_("--epoch is required for --setepoch."));
else if (ctl->testing)
- printf(_
- ("Not setting the epoch to %s - testing only.\n"),
+ printf(_("Test mode: epoch was not set to %s.\n"),
ctl->epoch_option);
else if (set_epoch_rtc(ctl))
- printf(_
- ("Unable to set the epoch value in the kernel.\n"));
+ warnx(_("unable to set the RTC epoch."));
}
}
#endif /* __linux__ __alpha__ */