[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[deliverable/linux.git] / drivers / char / watchdog / wdt977.c
index a0935bc775f8eb847d39ab4f32eacb8a7914ae47..6253041b235bb2ae0c1260e772f86b659bd799cb 100644 (file)
@@ -361,7 +361,7 @@ static int wdt977_ioctl(struct inode *inode, struct file *file,
        switch(cmd)
        {
        default:
-               return -ENOIOCTLCMD;
+               return -ENOTTY;
 
        case WDIOC_GETSUPPORT:
                return copy_to_user(uarg.ident, &ident,
This page took 0.028524 seconds and 5 git commands to generate.