diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-05-27 05:14:42 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2005-05-27 05:14:42 +0000 |
commit | 059769e15d5c84c13ea1a442d57bc60741a4c9c1 (patch) | |
tree | bf0428e95152b7f529c2fada48d6e139bfd3434d /sys | |
parent | 54541082b11abaf855153b3737de7dcdc4af19fa (diff) |
oops! printf -> DPRINTF
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_apm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_apm.c b/sys/arch/zaurus/dev/zaurus_apm.c index 436575dd272..feedff79b1e 100644 --- a/sys/arch/zaurus/dev/zaurus_apm.c +++ b/sys/arch/zaurus/dev/zaurus_apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_apm.c,v 1.7 2005/05/27 05:09:42 uwe Exp $ */ +/* $OpenBSD: zaurus_apm.c,v 1.8 2005/05/27 05:14:41 uwe Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de> @@ -448,9 +448,9 @@ zapm_poll(void *v) */ if (bc_lock && ratecheck(&sc->sc_lastbattchk, &zapm_battchkrate)) { if (sc->sc_suspended) { - printf("zapm_poll: suspended %lu %lu\n", + DPRINTF(("zapm_poll: suspended %lu %lu\n", sc->sc_lastbattchk.tv_sec, - pxa2x0_rtc_getsecs()); + pxa2x0_rtc_getsecs())); if (charging) { zapm_enable_charging(sc, 0); delay(15000); @@ -491,7 +491,7 @@ zapm_poll(void *v) #ifdef APMDEBUG if (sc->sc_event != APM_NOEVENT) - printf("zapm_poll: power event %d\n", sc->sc_event); + DPRINTF(("zapm_poll: power event %d\n", sc->sc_event)); #endif splx(s); } |