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
/
wdt_pci.c
diff --git
a/drivers/char/watchdog/wdt_pci.c
b/drivers/char/watchdog/wdt_pci.c
index 5918ca2c9c35b6c5bbc9bbb2d4012ebab122b80a..74d8cf836e13aa91fb11885dbb5e769ac5f2f49b 100644
(file)
--- a/
drivers/char/watchdog/wdt_pci.c
+++ b/
drivers/char/watchdog/wdt_pci.c
@@
-386,7
+386,7
@@
static int wdtpci_ioctl(struct inode *inode, struct file *file, unsigned int cmd
switch(cmd)
{
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user(argp, &ident, sizeof(ident))?-EFAULT:0;
This page took
0.025204 seconds
and
5
git commands to generate.