[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / econet / af_econet.c
index 70fb2b8..4fc2452 100644 (file)
@@ -687,7 +687,7 @@ static int econet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg
                        break;
 
                default:
-                       return dev_ioctl(cmd, argp);
+                       return -ENOIOCTLCMD;
        }
        /*NOTREACHED*/
        return 0;