diff options
author | 2004-12-30 23:13:31 +0000 | |
---|---|---|
committer | 2004-12-30 23:13:31 +0000 | |
commit | 4915339ded82859bdbd52d68299317210ed4fb1d (patch) | |
tree | 9ce368e13cb4bf5e4addf9b2723d5e1cbc5a4e61 | |
parent | i386/gcc3 sets changes (diff) | |
download | wireguard-openbsd-4915339ded82859bdbd52d68299317210ed4fb1d.tar.xz wireguard-openbsd-4915339ded82859bdbd52d68299317210ed4fb1d.zip |
Silence resettodr() unless option DEBUG.
-rw-r--r-- | sys/arch/arm/footbridge/todclock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/footbridge/todclock.c b/sys/arch/arm/footbridge/todclock.c index 03579157515..b72be435ecc 100644 --- a/sys/arch/arm/footbridge/todclock.c +++ b/sys/arch/arm/footbridge/todclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: todclock.c,v 1.3 2004/05/19 03:17:07 drahn Exp $ */ +/* $OpenBSD: todclock.c,v 1.4 2004/12/30 23:13:31 miod Exp $ */ /* $NetBSD: todclock.c,v 1.4 2002/10/02 05:02:30 thorpej Exp $ */ /* @@ -252,9 +252,11 @@ resettodr() rtc.rtc_centi = rtc.rtc_micro = 0; +#ifdef DEBUG printf("resettod: %02d/%02d/%02d%02d %02d:%02d:%02d\n", rtc.rtc_day, rtc.rtc_mon, rtc.rtc_cen, rtc.rtc_year, rtc.rtc_hour, rtc.rtc_min, rtc.rtc_sec); +#endif s = splclock(); todclock_sc->sc_rtc_write(todclock_sc->sc_rtc_arg, &rtc); |