patch-2.4.23 linux-2.4.23/arch/sparc64/kernel/ioctl32.c
Next file: linux-2.4.23/arch/sparc64/kernel/irq.c
Previous file: linux-2.4.23/arch/sparc64/kernel/head.S
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/sparc64/kernel/ioctl32.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.22/arch/sparc64/kernel/ioctl32.c linux-2.4.23/arch/sparc64/kernel/ioctl32.c
@@ -1920,8 +1920,8 @@
__cgc_do_ptr((void **) &cgc->sense, &cgc32->sense))
return -EFAULT;
- if (get_user(dir, &cgc->data_direction) ||
- put_user(dir, &cgc32->data_direction))
+ if (get_user(dir, &cgc32->data_direction) ||
+ put_user(dir, &cgc->data_direction))
return -EFAULT;
if (copy_in_user(&cgc->quiet, &cgc32->quiet,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)