diff options
Diffstat (limited to 'drivers/char/watchdog/w83877f_wdt.c')
-rw-r--r-- | drivers/char/watchdog/w83877f_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/w83877f_wdt.c b/drivers/char/watchdog/w83877f_wdt.c index ccf6c0915945..b0e5f84d6baf 100644 --- a/drivers/char/watchdog/w83877f_wdt.c +++ b/drivers/char/watchdog/w83877f_wdt.c | |||
@@ -252,7 +252,7 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
252 | switch(cmd) | 252 | switch(cmd) |
253 | { | 253 | { |
254 | default: | 254 | default: |
255 | return -ENOIOCTLCMD; | 255 | return -ENOTTY; |
256 | case WDIOC_GETSUPPORT: | 256 | case WDIOC_GETSUPPORT: |
257 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; | 257 | return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0; |
258 | case WDIOC_GETSTATUS: | 258 | case WDIOC_GETSTATUS: |