mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a compile bogon. 'ppbus' is used by two different sets of debug code
in lptout(). Reported by: several
This commit is contained in:
parent
6cd58f778c
commit
66a86c3bc1
1 changed files with 2 additions and 0 deletions
|
|
@ -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)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue