From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> There was one missing ifdef since 336f7c5f. CC: Sami Kerola <kerolasa@xxxxxx> Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- sys-utils/hwclock.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 3875bcc..3e0d6e9 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1520,9 +1520,12 @@ int main(int argc, char **argv) } } - if (!(ctl.show | ctl.set | ctl.systohc | ctl.hctosys | - ctl.systz | ctl.adjust | ctl.getepoch | ctl.setepoch | - ctl.predict | ctl.get)) + if (!(ctl.show | ctl.set | ctl.systohc | ctl.hctosys + | ctl.systz | ctl.adjust | ctl.predict | ctl.get +#ifdef __linux__ + | ctl.getepoch | ctl.setepoch +#endif + )) ctl.show = 1; /* default to show */ #ifdef __linux__ -- 1.8.5.6 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html