diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2009-10-05 14:13:16 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2009-10-05 14:13:16 +0000 |
| commit | 432e1942d27c2b37f0a495a84d9736e8c968d806 (patch) | |
| tree | ab0cccfabf94fa47ad1e2b72b23e8dc9d411da3a /sys/dev/ppbus | |
| parent | 2c7cd48d3cc2212a2cb379d3896222cbb03c7cf1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ppbus')
| -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; |
