projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abe78b
)
[WATCHDOG] omap_wdt.c - default error for IOCTL is -ENOTTY
author
Wim Van Sebroeck
<wim@iguana.be>
Tue, 24 Jul 2007 21:55:06 +0000
(21:55 +0000)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 24 Jul 2007 21:57:52 +0000
(21:57 +0000)
The default value for an unknown ioctl call is -ENOTTY.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/omap_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/char/watchdog/omap_wdt.c
b/drivers/char/watchdog/omap_wdt.c
index
3a0e061
..
719b066
100644
(file)
--- a/
drivers/char/watchdog/omap_wdt.c
+++ b/
drivers/char/watchdog/omap_wdt.c
@@
-197,7
+197,7
@@
omap_wdt_ioctl(struct inode *inode, struct file *file,
switch (cmd) {
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user((struct watchdog_info __user *)arg, &ident,
sizeof(ident));