summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-01-12 08:28:14 +0000
committerimp <imp@FreeBSD.org>2003-01-12 08:28:14 +0000
commit5f62aca2770374c1372d8c9cfcf084365983f321 (patch)
tree4579bff932c3d24d4444c6a14384bc1ddd02357f
parente45ec3c80309efb54999869d27a7145cdd51a07c (diff)
downloadFreeBSD-src-5f62aca2770374c1372d8c9cfcf084365983f321.zip
FreeBSD-src-5f62aca2770374c1372d8c9cfcf084365983f321.tar.gz
Make compile cleanly when USB_DEBUG is defined.
-rw-r--r--sys/dev/usb/umodem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index d4e1f42..30e337d 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -85,6 +85,7 @@
#include <sys/tty.h>
#include <sys/file.h>
#include <sys/select.h>
+#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/bus.h>
@@ -777,7 +778,7 @@ USB_DETACH(umodem)
USB_DETACH_START(umodem, sc);
int rv = 0;
- DPRINTF(("umodem_detach: sc=%p flags=%d\n", sc, flags));
+ DPRINTF(("umodem_detach: sc=%p\n", sc));
if (sc->sc_notify_pipe != NULL) {
usbd_abort_pipe(sc->sc_notify_pipe);
OpenPOWER on IntegriCloud