patch-2.4.9 linux/drivers/scsi/sr_ioctl.c
Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/scsi/scsi_scan.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 09:51:27 2001
- Orig file:
v2.4.8/linux/drivers/scsi/sr_ioctl.c
- Orig date:
Wed Jul 25 17:10:23 2001
diff -u --recursive --new-file v2.4.8/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 >> 1, (long *) arg);
+ return put_user(scsi_CDs[target].capacity, (long *) arg);
case BLKROSET:
case BLKROGET:
case BLKRASET:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)