projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[deliverable/linux.git]
/
drivers
/
char
/
watchdog
/
wdt977.c
diff --git
a/drivers/char/watchdog/wdt977.c
b/drivers/char/watchdog/wdt977.c
index a0935bc775f8eb847d39ab4f32eacb8a7914ae47..6253041b235bb2ae0c1260e772f86b659bd799cb 100644
(file)
--- 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 -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user(uarg.ident, &ident,
This page took
0.028524 seconds
and
5
git commands to generate.