patch-2.4.5 linux/drivers/char/wdt285.c
Next file: linux/drivers/char/wdt_pci.c
Previous file: linux/drivers/char/wdt.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/wdt285.c
- Orig date:
Mon Oct 16 12:58:51 2000
diff -u --recursive --new-file v2.4.4/linux/drivers/char/wdt285.c linux/drivers/char/wdt285.c
@@ -136,7 +136,7 @@
switch(cmd)
{
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
i = verify_area(VERIFY_WRITE, (void*) arg, sizeof(struct watchdog_info));
if (i)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)