diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2009-01-22 15:35:54 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2009-01-22 15:35:54 +0000 |
| commit | 66a86c3bc104d3fbfea79e7e5469dbd7d5b8c8a6 (patch) | |
| tree | 3675511eb750464adf498f3f9b8ea8c52e8ec85a /sys/dev/ppbus | |
| parent | 6cd58f778c837439cbc9df48c50f3df38ab9e4e2 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ppbus')
| -rw-r--r-- | sys/dev/ppbus/lpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index e4288fcb5008..4c8850825302 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -447,7 +447,9 @@ lptout(void *arg) { struct lpt_data *sc = arg; device_t dev = sc->sc_dev; +#if defined(INVARIANTS) || defined(LPT_DEBUG) device_t ppbus = device_get_parent(dev); +#endif ppb_assert_locked(ppbus); lprintf(("T %x ", ppb_rstr(ppbus))); |
