diff options
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/epoll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/epoll.c b/src/linux/epoll.c index 93baa814..e56e8f4c 100644 --- a/src/linux/epoll.c +++ b/src/linux/epoll.c @@ -5,6 +5,7 @@ int epoll_create(int size) { + if (size<=0) return __syscall_ret(-EINVAL); return epoll_create1(0); } |