[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[pandora-kernel.git] / drivers / char / watchdog / acquirewdt.c
index c77fe3c..154d67e 100644 (file)
@@ -183,7 +183,7 @@ static int acq_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
        }
 
        default:
-         return -ENOIOCTLCMD;
+         return -ENOTTY;
        }
 }