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

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

diff -u --recursive --new-file v1.3.74/linux/drivers/char/vesa_blank.c linux/drivers/char/vesa_blank.c
@@ -26,9 +26,7 @@
 |      fd = 0;
 |    arg.ten = 10;
 |    arg.onoff = 0;
-|    if (!strcmp(argv[1], "on"))
-|      arg.onoff = 1;
-|    else if (!strcmp(argv[1], "vsync"))
+|    if (!strcmp(argv[1], "on") || !strcmp(argv[1], "vsync"))
 |      arg.onoff = 1;
 |    else if (!strcmp(argv[1], "hsync"))
 |      arg.onoff = 2;

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