diff options
author | phk <phk@FreeBSD.org> | 2008-12-14 23:24:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2008-12-14 23:24:00 +0000 |
commit | b20efaabc2e8e5d3d07fad285e4cb62fba859ebb (patch) | |
tree | 59fb582bebcd5451e4204a97ac4446eb3bd8cd64 | |
parent | 71736a082ba2b51df403996cf10d63124f2d238e (diff) | |
download | FreeBSD-src-b20efaabc2e8e5d3d07fad285e4cb62fba859ebb.zip FreeBSD-src-b20efaabc2e8e5d3d07fad285e4cb62fba859ebb.tar.gz |
Make the tp pointer available for debugging.
-rw-r--r-- | sys/dev/usb/ucom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 3a283d8..9f595dd 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -724,10 +724,12 @@ static void ucomreadcb(usbd_xfer_handle xfer, usbd_private_handle p, usbd_status status) { struct ucom_softc *sc = (struct ucom_softc *)p; + struct tty *tp = sc->sc_tty; usbd_status err; u_int32_t cc; u_char *cp; + (void)tp; /* Used for debugging */ DPRINTF(("ucomreadcb: status = %d\n", status)); if (status != USBD_NORMAL_COMPLETION) { |