patch-2.4.13 linux/drivers/scsi/sr_ioctl.c
Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/scsi/sr.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 15 13:27:42 2001
- Orig file:
v2.4.12/linux/drivers/scsi/sr_ioctl.c
- Orig date:
Sun Sep 23 11:40:59 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/scsi/sr_ioctl.c linux/drivers/scsi/sr_ioctl.c
@@ -545,7 +545,7 @@
switch (cmd) {
case BLKGETSIZE:
- return put_user(scsi_CDs[target].capacity, (long *) arg);
+ return put_user(scsi_CDs[target].capacity, (unsigned long *) arg);
case BLKGETSIZE64:
return put_user((u64)scsi_CDs[target].capacity << 9, (u64 *)arg);
case BLKROSET:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)