patch-1.3.15 linux/drivers/char/vt.c
Next file: linux/drivers/net/3c501.c
Previous file: linux/drivers/char/vc_screen.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 1 10:02:35 1995
- Orig file:
v1.3.14/linux/drivers/char/vt.c
- Orig date:
Mon Jul 31 15:59:01 1995
diff -u --recursive --new-file v1.3.14/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -424,7 +424,7 @@
if (!perm)
return -EPERM;
- i = verify_area(VERIFY_READ, (void *)a, sizeof(struct kbentry));
+ i = verify_area(VERIFY_READ, (const void *)a, sizeof(struct kbentry));
if (i)
return i;
if ((i = get_user(&a->kb_index)) >= NR_KEYS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this