aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/wdt977.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/wdt977.c')
-rw-r--r--drivers/char/watchdog/wdt977.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/wdt977.c b/drivers/char/watchdog/wdt977.c
index a0935bc775f..6253041b235 100644
--- a/drivers/char/watchdog/wdt977.c
+++ b/drivers/char/watchdog/wdt977.c
@@ -361,7 +361,7 @@ static int wdt977_ioctl(struct inode *inode, struct file *file,
switch(cmd)
{
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
return copy_to_user(uarg.ident, &ident,