[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / x25 / af_x25.c
index ca8b3b0..16459c7 100644 (file)
@@ -1378,7 +1378,7 @@ static int x25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                }
 
                default:
-                       rc = dev_ioctl(cmd, argp);
+                       rc = -ENOIOCTLCMD;
                        break;
        }