patch-2.4.18 linux/drivers/char/rio/rio_linux.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/ppdev.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/rio/rio_linux.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/char/rio/rio_linux.c linux/drivers/char/rio/rio_linux.c
@@ -742,7 +742,7 @@
case TIOCGSERIAL:
if ((rc = verify_area(VERIFY_WRITE, (void *) arg,
sizeof(struct serial_struct))) == 0)
- gs_getserial(&PortP->gs, (struct serial_struct *) arg);
+ rc = gs_getserial(&PortP->gs, (struct serial_struct *) arg);
break;
case TCSBRK:
if ( PortP->State & RIO_DELETED ) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)