patch-2.4.13 linux/drivers/block/ataflop.c
Next file: linux/drivers/block/blkpg.c
Previous file: linux/drivers/block/amiflop.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/block/ataflop.c
- Orig date:
Sun Sep 23 11:40:57 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/block/ataflop.c linux/drivers/block/ataflop.c
@@ -1600,7 +1600,7 @@
dtp = UDT;
}
if (cmd == BLKGETSIZE)
- return put_user(dtp->blocks, (long *)param);
+ return put_user(dtp->blocks, (unsigned long *)param);
memset((void *)&getprm, 0, sizeof(getprm));
getprm.size = dtp->blocks;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)