patch-2.1.65 linux/drivers/block/floppy.c
Next file: linux/drivers/net/eepro100.c
Previous file: linux/drivers/block/README.fd
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Nov 17 15:13:48 1997
- Orig file:
v2.1.64/linux/drivers/block/floppy.c
- Orig date:
Sat Oct 25 02:44:15 1997
diff -u --recursive --new-file v2.1.64/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -3274,7 +3274,7 @@
return 0;
case BLKRAGET:
return put_user(read_ahead[MAJOR(inode->i_rdev)],
- (int *) param);
+ (long *) param);
case BLKFLSBUF:
if(!suser()) return -EACCES;
fsync_dev(inode->i_rdev);
@@ -3283,7 +3283,7 @@
case BLKGETSIZE:
ECALL(get_floppy_geometry(drive, type, &g));
- return put_user(g->size, (int *) param);
+ return put_user(g->size, (long *) param);
/* BLKRRPART is not defined as floppies don't have
* partition tables */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov