USB: serial: fix typo in debug message
authorJohan Hovold <jhovold@gmail.com>
Sun, 22 Nov 2009 16:42:34 +0000 (17:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:03 +0000 (14:53 -0800)
Fixes confusing "serial_chars_in_buffer = port 0" messages.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c

index 33c85f7084f879593b3f47e2833c2776bda97486..9c7e1d563e56ed07baa17d11a6fc3dfd8b12fb58 100644 (file)
@@ -381,7 +381,7 @@ static int serial_write_room(struct tty_struct *tty)
 static int serial_chars_in_buffer(struct tty_struct *tty)
 {
        struct usb_serial_port *port = tty->driver_data;
-       dbg("%s = port %d", __func__, port->number);
+       dbg("%s - port %d", __func__, port->number);
 
        /* if the device was unplugged then any remaining characters
           fell out of the connector ;) */