diff options
Diffstat (limited to 'drivers/char/watchdog/advantechwdt.c')
-rw-r--r-- | drivers/char/watchdog/advantechwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/advantechwdt.c b/drivers/char/watchdog/advantechwdt.c index 8069be445edc..9d732769ba01 100644 --- a/drivers/char/watchdog/advantechwdt.c +++ b/drivers/char/watchdog/advantechwdt.c | |||
@@ -176,7 +176,7 @@ advwdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, | |||
176 | } | 176 | } |
177 | 177 | ||
178 | default: | 178 | default: |
179 | return -ENOIOCTLCMD; | 179 | return -ENOTTY; |
180 | } | 180 | } |
181 | return 0; | 181 | return 0; |
182 | } | 182 | } |