diff options
Diffstat (limited to 'drivers/char/watchdog/wdt.c')
-rw-r--r-- | drivers/char/watchdog/wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/wdt.c b/drivers/char/watchdog/wdt.c index 70be81e39a61..13f23f4a2233 100644 --- a/drivers/char/watchdog/wdt.c +++ b/drivers/char/watchdog/wdt.c | |||
@@ -341,7 +341,7 @@ static int wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
341 | switch(cmd) | 341 | switch(cmd) |
342 | { | 342 | { |
343 | default: | 343 | default: |
344 | return -ENOIOCTLCMD; | 344 | return -ENOTTY; |
345 | case WDIOC_GETSUPPORT: | 345 | case WDIOC_GETSUPPORT: |
346 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; | 346 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; |
347 | 347 | ||