summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2010-11-04 21:06:36 +0000
committern_hibma <n_hibma@FreeBSD.org>2010-11-04 21:06:36 +0000
commitbfe6aa84f90b7b86c491748493b5b9859a78da97 (patch)
treea364ed653813004c6c5c6c7ee7163a4023b6483e /sys/dev
parent19d738409e1b9f5d53606ce23b988aaa3bf8fd56 (diff)
downloadFreeBSD-src-bfe6aa84f90b7b86c491748493b5b9859a78da97.zip
FreeBSD-src-bfe6aa84f90b7b86c491748493b5b9859a78da97.tar.gz
Don't terminate the notification with \n. This is done in
usb_device.c:devctl_notify_f().
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usb_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c
index 495bd82..63925e2 100644
--- a/sys/dev/usb/usb_device.c
+++ b/sys/dev/usb/usb_device.c
@@ -2486,7 +2486,7 @@ usb_notify_addq(const char *type, struct usb_device *udev)
"mode=%s "
"port=%u "
#if USB_HAVE_UGEN
- "parent=%s\n"
+ "parent=%s"
#endif
"",
#if USB_HAVE_UGEN
@@ -2534,7 +2534,7 @@ usb_notify_addq(const char *type, struct usb_device *udev)
"endpoints=%d "
"intclass=0x%02x "
"intsubclass=0x%02x "
- "intprotocol=0x%02x\n",
+ "intprotocol=0x%02x",
#if USB_HAVE_UGEN
udev->ugen_name,
#endif
OpenPOWER on IntegriCloud