aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/sbc_epx_c3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/sbc_epx_c3.c')
-rw-r--r--drivers/char/watchdog/sbc_epx_c3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/sbc_epx_c3.c b/drivers/char/watchdog/sbc_epx_c3.c
index bfc475dabe6..8882b427d24 100644
--- a/drivers/char/watchdog/sbc_epx_c3.c
+++ b/drivers/char/watchdog/sbc_epx_c3.c
@@ -141,7 +141,7 @@ static int epx_c3_ioctl(struct inode *inode, struct file *file,
return retval;
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
}
}