[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / unix / af_unix.c
index 1ddd36d..5f6ae79 100644 (file)
@@ -1859,7 +1859,7 @@ static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                }
 
                default:
-                       err = dev_ioctl(cmd, (void __user *)arg);
+                       err = -ENOIOCTLCMD;
                        break;
        }
        return err;