Bluetooth: Add native RFKILL soft-switch support for all devices
[pandora-kernel.git] / fs / eventpoll.c
index a89f370..5458e80 100644 (file)
@@ -1212,7 +1212,7 @@ SYSCALL_DEFINE1(epoll_create1, int, flags)
 
 SYSCALL_DEFINE1(epoll_create, int, size)
 {
-       if (size < 0)
+       if (size <= 0)
                return -EINVAL;
 
        return sys_epoll_create1(0);