diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2009-11-04 16:58:26 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2009-11-04 16:58:26 +0000 |
| commit | 6fd3786837cbda28ee0c01e589ae48dc44d79f9c (patch) | |
| tree | b32db06bddcc74d18f61b29739e9e1ef7ac2ae5a /sys | |
| parent | 2d7c21427dabe3747ab9d7f0c4ba38e7ce7ed766 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/ppbus/lpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 10d67d91811b..77ebaea561f5 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -456,7 +456,7 @@ lptout(void *arg) if (sc->sc_state & OPEN) { sc->sc_backoff++; if (sc->sc_backoff > hz/LPTOUTMAX) - sc->sc_backoff = sc->sc_backoff > hz/LPTOUTMAX; + sc->sc_backoff = hz/LPTOUTMAX; callout_reset(&sc->sc_timer, sc->sc_backoff, lptout, sc); } else sc->sc_state &= ~TOUT; |
