patch-2.4.13 linux/drivers/md/lvm.c
Next file: linux/drivers/md/md.c
Previous file: linux/drivers/macintosh/rtc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 15 13:27:52 2001
- Orig file:
v2.4.12/linux/drivers/md/lvm.c
- Orig date:
Sun Sep 23 11:40:58 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/md/lvm.c linux/drivers/md/lvm.c
@@ -877,7 +877,7 @@
/* return device size */
P_IOCTL("%s -- lvm_blk_ioctl -- BLKGETSIZE: %u\n",
lvm_name, lv_ptr->lv_size);
- if (put_user(lv_ptr->lv_size, (long *)arg))
+ if (put_user(lv_ptr->lv_size, (unsigned long *)arg))
return -EFAULT;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)