patch-2.4.13 linux/drivers/block/floppy.c
Next file: linux/drivers/block/genhd.c
Previous file: linux/drivers/block/cpqarray.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/floppy.c
- Orig date:
Sun Sep 23 11:40:57 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -3496,7 +3496,7 @@
case BLKGETSIZE:
ECALL(get_floppy_geometry(drive, type, &g));
- return put_user(g->size, (long *) param);
+ return put_user(g->size, (unsigned long *) param);
case BLKGETSIZE64:
ECALL(get_floppy_geometry(drive, type, &g));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)