patch-2.4.13 linux/drivers/block/rd.c
Next file: linux/drivers/block/xd.c
Previous file: linux/drivers/block/ps2esdi.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 15 13:27:41 2001
- Orig file:
v2.4.12/linux/drivers/block/rd.c
- Orig date:
Tue Oct 9 17:06:51 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/block/rd.c linux/drivers/block/rd.c
@@ -384,7 +384,7 @@
case BLKGETSIZE: /* Return device size */
if (!arg)
break;
- error = put_user(rd_kbsize[minor] << 1, (long *) arg);
+ error = put_user(rd_kbsize[minor] << 1, (unsigned long *) arg);
break;
case BLKGETSIZE64:
error = put_user((u64)rd_kbsize[minor]<<10, (u64*)arg);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)