patch-2.1.4 linux/drivers/char/vesa_blank.c

Next file: linux/drivers/char/vga.c
Previous file: linux/drivers/char/vc_screen.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/drivers/char/vesa_blank.c linux/drivers/char/vesa_blank.c
@@ -273,7 +273,7 @@
 	if (verify_area(VERIFY_READ, argp, 1))
 		return;
 
-	mode = get_user(argp);
+	get_user(mode, argp);
 	vesa_blanking_mode = suspend_vesa_blanking_mode =
 		((mode <= VESA_POWERDOWN) ? mode : DEFAULT_VESA_BLANKING_MODE);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov