aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/wdt_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/wdt_pci.c')
-rw-r--r--drivers/char/watchdog/wdt_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/wdt_pci.c b/drivers/char/watchdog/wdt_pci.c
index 5918ca2c9c35b..74d8cf836e13a 100644
--- a/drivers/char/watchdog/wdt_pci.c
+++ b/drivers/char/watchdog/wdt_pci.c
@@ -386,7 +386,7 @@ static int wdtpci_ioctl(struct inode *inode, struct file *file, unsigned int cmd
switch(cmd)
{
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0;