diff options
-rw-r--r-- | drivers/char/watchdog/w83697hf_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/w83697hf_wdt.c b/drivers/char/watchdog/w83697hf_wdt.c index 21e822e0eeec..32710a97b161 100644 --- a/drivers/char/watchdog/w83697hf_wdt.c +++ b/drivers/char/watchdog/w83697hf_wdt.c | |||
@@ -233,7 +233,7 @@ wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
233 | } | 233 | } |
234 | 234 | ||
235 | default: | 235 | default: |
236 | return -ENOIOCTLCMD; | 236 | return -ENOTTY; |
237 | } | 237 | } |
238 | return 0; | 238 | return 0; |
239 | } | 239 | } |