Commit:     1bf1496d41756496db2fcf4c8f1932b9762232f6
Parent:     6abe78bf195c633f67f6349e3d09b2bcd5d32a79
Author:     Wim Van Sebroeck <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 24 21:55:06 2007 +0000
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Tue Jul 24 21:57:52 2007 +0000

    [WATCHDOG] omap_wdt.c - default error for IOCTL is -ENOTTY
    The default value for an unknown ioctl call is -ENOTTY.
    Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]>
 drivers/char/watchdog/omap_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/watchdog/omap_wdt.c b/drivers/char/watchdog/omap_wdt.c
index 3a0e061..719b066 100644
--- 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) {
-               return -ENOIOCTLCMD;
+               return -ENOTTY;
        case WDIOC_GETSUPPORT:
                return copy_to_user((struct watchdog_info __user *)arg, &ident,
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to