diff options
Diffstat (limited to 'drivers/char/watchdog/machzwd.c')
-rw-r--r-- | drivers/char/watchdog/machzwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/machzwd.c b/drivers/char/watchdog/machzwd.c index 23734e07fb22..ed2b6e1e3cec 100644 --- a/drivers/char/watchdog/machzwd.c +++ b/drivers/char/watchdog/machzwd.c | |||
@@ -329,7 +329,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
329 | break; | 329 | break; |
330 | 330 | ||
331 | default: | 331 | default: |
332 | return -ENOIOCTLCMD; | 332 | return -ENOTTY; |
333 | } | 333 | } |
334 | 334 | ||
335 | return 0; | 335 | return 0; |