USB: correct dbg() arguments in pl2303

From: Pete Zaitcev
Date: Tue Jul 27 2004 - 13:57:43 EST


Patch by Phil Dibowitz.

diff -urp -X dontdiff linux-2.4.27-rc3/drivers/usb/serial/pl2303.c linux-2.4.27-rc3-usbx/drivers/usb/serial/pl2303.c
--- linux-2.4.27-rc3/drivers/usb/serial/pl2303.c 2004-07-25 23:00:17.000000000 -0700
+++ linux-2.4.27-rc3-usbx/drivers/usb/serial/pl2303.c 2004-07-27 11:07:39.000000000 -0700
@@ -652,7 +652,7 @@ static void pl2303_break_ctl (struct usb
state = BREAK_OFF;
else
state = BREAK_ON;
- dbg("%s - turning break %s", state==BREAK_OFF ? "off" : "on", __FUNCTION__);
+ dbg("%s - turning break %s", __FUNCTION__, state==BREAK_OFF ? "off" : "on");

result = usb_control_msg (serial->dev, usb_sndctrlpipe (serial->dev, 0),
BREAK_REQUEST, BREAK_REQUEST_TYPE, state,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/