patch-2.4.18 linux/drivers/char/serial_tx3912.c
Next file: linux/drivers/char/sh-sci.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Feb 4 17:22:38 2002
- Orig file:
linux.orig/drivers/char/serial_tx3912.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/char/serial_tx3912.c linux/drivers/char/serial_tx3912.c
@@ -673,7 +673,7 @@
case TIOCGSERIAL:
if ((rc = verify_area(VERIFY_WRITE, (void *) arg,
sizeof(struct serial_struct))) == 0)
- gs_getserial(&port->gs, (struct serial_struct *) arg);
+ rc = gs_getserial(&port->gs, (struct serial_struct *) arg);
break;
case TIOCSSERIAL:
if ((rc = verify_area(VERIFY_READ, (void *) arg,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)