patch-2.4.5 linux/drivers/char/wdt_pci.c
Next file: linux/drivers/i2o/i2o_block.c
Previous file: linux/drivers/char/wdt285.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_pci.c
- Orig date:
Fri Feb 9 11:30:22 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/char/wdt_pci.c linux/drivers/char/wdt_pci.c
@@ -327,7 +327,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)