]> err.no Git - linux-2.6/blobdiff - drivers/rtc/rtc-test.c
[PATCH] macmodes: Fix section warning
[linux-2.6] / drivers / rtc / rtc-test.c
index e1f7e8e86daffee9f96737442ef9d840904f6a0e..e1fa5fe7901f900167b448997cb4f4373a85e892 100644 (file)
@@ -71,7 +71,7 @@ static int test_rtc_ioctl(struct device *dev, unsigned int cmd,
                return 0;
 
        default:
-               return -EINVAL;
+               return -ENOIOCTLCMD;
        }
 }