diff options
Diffstat (limited to 'drivers/char/watchdog/wdt_pci.c')
-rw-r--r-- | drivers/char/watchdog/wdt_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/wdt_pci.c b/drivers/char/watchdog/wdt_pci.c index 5918ca2c9c35..74d8cf836e13 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 | |||
386 | switch(cmd) | 386 | switch(cmd) |
387 | { | 387 | { |
388 | default: | 388 | default: |
389 | return -ENOIOCTLCMD; | 389 | return -ENOTTY; |
390 | case WDIOC_GETSUPPORT: | 390 | case WDIOC_GETSUPPORT: |
391 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; | 391 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; |
392 | 392 | ||