patch-2.4.5 linux/drivers/char/wdt.c
Next file: linux/drivers/char/wdt285.c
Previous file: linux/drivers/char/synclink.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 19 17:43:05 2001
- Orig file:
v2.4.4/linux/drivers/char/wdt.c
- Orig date:
Fri Feb 9 11:30:22 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/char/wdt.c linux/drivers/char/wdt.c
@@ -311,7 +311,7 @@
switch(cmd)
{
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
return copy_to_user((struct watchdog_info *)arg, &ident, sizeof(ident))?-EFAULT:0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)