diff options
| author | Nicolas Souchu <nsouch@FreeBSD.org> | 2000-02-08 21:46:27 +0000 |
|---|---|---|
| committer | Nicolas Souchu <nsouch@FreeBSD.org> | 2000-02-08 21:46:27 +0000 |
| commit | 249a96889e3055c312a57f992e2634cd0581fc0b (patch) | |
| tree | c1e1064ae798762268bcd8370a3edcee9f1c610f /sys | |
| parent | a9534fe4f0a3f4345a7548c739c248af6591c632 (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 1c8aa006c4fe..d2c979cc79ee 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 */ |
