patch-2.4.8 linux/drivers/char/sbc60xxwdt.c

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

diff -u --recursive --new-file v2.4.7/linux/drivers/char/sbc60xxwdt.c linux/drivers/char/sbc60xxwdt.c
@@ -178,7 +178,7 @@
 			char c;
 			if(get_user(c, buf+ofs))
 				return -EFAULT;
-			if(buf[ofs] == 'V')
+			if(c == 'V')
 				wdt_expect_close = 1;
 		}
 		/* Well, anyhow someone wrote to us, we should return that favour */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)