patch-2.4.13 linux/drivers/acorn/block/mfmhd.c

Next file: linux/drivers/acorn/char/mouse_rpc.c
Previous file: linux/drivers/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/drivers/acorn/block/mfmhd.c linux/drivers/acorn/block/mfmhd.c
@@ -1209,7 +1209,7 @@
 		return 0;
 
 	case BLKGETSIZE:
-		return put_user (mfm[minor].nr_sects, (long *)arg);
+		return put_user (mfm[minor].nr_sects, (unsigned long *)arg);
 	case BLKGETSIZE64:
 		return put_user ((u64)mfm[minor].nr_sects << 9, (u64 *)arg);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)