patch-2.1.14 linux/drivers/block/loop.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Nov 29 11:20:08 1996
- Orig file:
v2.1.13/linux/drivers/block/loop.c
- Orig date:
Tue Nov 19 15:53:53 1996
diff -u --recursive --new-file v2.1.13/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -457,7 +457,7 @@
return -ENXIO;
if (!arg)
return -EINVAL;
- return put_user(loop_sizes[lo->lo_number] << 1, (int *) arg);
+ return put_user(loop_sizes[lo->lo_number] << 1, (long *) arg);
default:
return -EINVAL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov