patch-2.1.14 linux/drivers/scsi/sd_ioctl.c
Next file: linux/drivers/scsi/seagate.c
Previous file: linux/drivers/scsi/eata.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Nov 29 11:20:08 1996
- Orig file:
v2.1.13/linux/drivers/scsi/sd_ioctl.c
- Orig date:
Tue Oct 29 19:58:13 1996
diff -u --recursive --new-file v2.1.13/linux/drivers/scsi/sd_ioctl.c linux/drivers/scsi/sd_ioctl.c
@@ -76,10 +76,10 @@
case BLKRAGET:
if (!arg)
return -EINVAL;
- error = verify_area(VERIFY_WRITE, (int *) arg, sizeof(int));
+ error = verify_area(VERIFY_WRITE, (long *) arg, sizeof(long));
if (error)
return error;
- put_user(read_ahead[MAJOR(inode->i_rdev)], (int *) arg);
+ put_user(read_ahead[MAJOR(inode->i_rdev)], (long *) arg);
return 0;
case BLKFLSBUF:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov