patch-2.4.5 linux/drivers/char/softdog.c
Next file: linux/drivers/char/specialix.c
Previous file: linux/drivers/char/serial167.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/softdog.c
- Orig date:
Tue Feb 13 14:13:43 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/char/softdog.c linux/drivers/char/softdog.c
@@ -132,7 +132,7 @@
};
switch (cmd) {
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
if(copy_to_user((struct watchdog_info *)arg, &ident, sizeof(ident)))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)