Add changes from the Linux-2.6 tree.
[linux-2.6.git] / drivers / char / watchdog / pcwd_pci.c
index 21ed0c5..f4872c8 100644 (file)
@@ -540,7 +540,7 @@ static int pcipcwd_ioctl(struct inode *inode, struct file *file,
                }
 
                default:
-                       return -ENOIOCTLCMD;
+                       return -ENOTTY;
        }
 }