[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[deliverable/linux.git] / drivers / char / watchdog / ibmasr.c
index 26ceee7a4df0922bd370560a4023d1bfa1892267..dd6760f1a23ba43ecc40342cc9c1d9da3ef13e9c 100644 (file)
@@ -295,7 +295,7 @@ static int asr_ioctl(struct inode *inode, struct file *file,
                }
        }
 
-       return -ENOIOCTLCMD;
+       return -ENOTTY;
 }
 
 static int asr_open(struct inode *inode, struct file *file)
This page took 0.026236 seconds and 5 git commands to generate.