patch-1.3.4 linux/drivers/char/vesa_blank.c
Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/vc_screen.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Jun 26 11:20:04 1995
- Orig file:
v1.3.3/linux/drivers/char/vesa_blank.c
- Orig date:
Mon Jan 9 08:17:07 1995
diff -u --recursive --new-file v1.3.3/linux/drivers/char/vesa_blank.c linux/drivers/char/vesa_blank.c
@@ -240,7 +240,7 @@
void set_vesa_blanking(const unsigned long arg)
{
- char *argp = (char *)(arg + 1);
- unsigned int mode = get_fs_byte(argp);
+ unsigned char *argp = (unsigned char *)(arg + 1);
+ unsigned int mode = get_user(argp);
vesa_blanking_mode = ((mode < 3) ? mode : 0);
}
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