svn commit: r214809 - head/sys/dev/usb

Nick Hibma n_hibma at FreeBSD.org
Thu Nov 4 21:06:37 UTC 2010


Author: n_hibma
Date: Thu Nov  4 21:06:36 2010
New Revision: 214809
URL: http://svn.freebsd.org/changeset/base/214809

Log:
  Don't terminate the notification with \n. This is done in
  usb_device.c:devctl_notify_f().

Modified:
  head/sys/dev/usb/usb_device.c

Modified: head/sys/dev/usb/usb_device.c
==============================================================================
--- head/sys/dev/usb/usb_device.c	Thu Nov  4 21:03:50 2010	(r214808)
+++ head/sys/dev/usb/usb_device.c	Thu Nov  4 21:06:36 2010	(r214809)
@@ -2486,7 +2486,7 @@ usb_notify_addq(const char *type, struct
 	    "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
 		    "endpoints=%d "
 		    "intclass=0x%02x "
 		    "intsubclass=0x%02x "
-		    "intprotocol=0x%02x\n",
+		    "intprotocol=0x%02x",
 #if USB_HAVE_UGEN
 		    udev->ugen_name,
 #endif


More information about the svn-src-head mailing list