diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 1999-04-11 20:50:33 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 1999-04-11 20:50:33 +0000 |
| commit | 67aa00a71bb06d52675f0801d00d23cb37e30e06 (patch) | |
| tree | 9d3e27cf470fc74a8b723c48055ceb2dd22eefe4 /sys/dev/usb/ulpt.c | |
| parent | c8bdad599ff09ea0e011de3e76731897bfce5fe8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/ulpt.c')
| -rw-r--r-- | sys/dev/usb/ulpt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index e62fc92045e4..098446036eb4 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -67,9 +67,9 @@ #define LPTPRI (PZERO+8) #define ULPT_BSIZE 1024 -#ifdef USB_DEBUG -#define DPRINTF(x) if (ulptdebug) printf x -#define DPRINTFN(n,x) if (ulptdebug>(n)) printf x +#ifdef ULPT_DEBUG +#define DPRINTF(x) if (ulptdebug) logprintf x +#define DPRINTFN(n,x) if (ulptdebug>(n)) logprintf x int ulptdebug = 1; #else #define DPRINTF(x) @@ -300,7 +300,7 @@ ulptopen(dev, flag, mode, p) sc->sc_flags = flags; DPRINTF(("ulptopen: flags=0x%x\n", (unsigned)flags)); -#if defined(USB_DEBUG) && defined(__FreeBSD__) +#if defined(ULPT_DEBUG) && defined(__FreeBSD__) /* Ignoring these flags might not be a good idea */ if ((flags & ~ULPT_NOPRIME) != 0) printf("ulptopen: flags ignored: %b\n", flags, |
