diff options
-rw-r--r-- | sys/dev/ppbus/lpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 1c8aa00..d2c979c 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -865,12 +865,12 @@ lpt_intr(void *arg) /* * No more data waiting for printer. - * Wakeup is not done if write call was interrupted. + * Wakeup is not done if write call was not interrupted. */ sc->sc_state &= ~OBUSY; if(!(sc->sc_state & INTERRUPTED)) - wakeup((caddr_t)sc); + wakeup((caddr_t)lptdev); lprintf(("w ")); return; } else { /* check for error */ |