[PATCH]missing EOLs in cdc acm error reporting

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

some messages are missing newlines.

	Regards
		Oliver

Signed-off-by: Oliver Neukum <[email protected]>

----

--- linux-2.6.23-rc9/drivers/usb/class/cdc-acm.c	2007-10-11 13:04:42.000000000 +0200
+++ acm/drivers/usb/class/cdc-acm.c	2007-10-11 13:04:56.000000000 +0200
@@ -866,7 +866,7 @@ static int acm_probe (struct usb_interfa
 		switch (buffer [2]) {
 			case USB_CDC_UNION_TYPE: /* we've found it */
 				if (union_header) {
-					err("More than one union descriptor, skipping ...");
+					err("More than one union descriptor, skipping ...\n");
 					goto next_desc;
 				}
 				union_header = (struct usb_cdc_union_desc *)
@@ -884,11 +884,11 @@ static int acm_probe (struct usb_interfa
 				call_management_function = buffer[3];
 				call_interface_num = buffer[4];
 				if ((call_management_function & 3) != 3)
-					err("This device cannot do calls on its own. It is no modem.");
+					err("This device cannot do calls on its own. It is no modem.\n");
 				break;
 				
 			default:
-				err("Ignoring extra header, type %d, length %d", buffer[2], buffer[0]);
+				err("Ignoring extra header, type %d, length %d\n", buffer[2], buffer[0]);
 				break;
 			}
 next_desc:
@@ -965,7 +965,7 @@ skip_normal_probe:
 	for (minor = 0; minor < ACM_TTY_MINORS && acm_table[minor]; minor++);
 
 	if (minor == ACM_TTY_MINORS) {
-		err("no more free acm devices");
+		err("no more free acm devices\n");
 		return -ENODEV;
 	}
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.