diff options
Diffstat (limited to 'ext/sleepy_penguin/epoll.c')
-rw-r--r-- | ext/sleepy_penguin/epoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sleepy_penguin/epoll.c b/ext/sleepy_penguin/epoll.c index 423ed69..120af0c 100644 --- a/ext/sleepy_penguin/epoll.c +++ b/ext/sleepy_penguin/epoll.c @@ -82,7 +82,7 @@ static struct ep_per_thread *ept_get(VALUE self, int maxevents) static VALUE s_new(VALUE klass, VALUE _flags) { int default_flags = RB_SP_CLOEXEC(EPOLL_CLOEXEC); - int flags = rb_sp_get_flags(klass, _flags, default_flags); + int flags = rb_sp_get_flags(cEpoll, _flags, default_flags); int fd = epoll_create1(flags); VALUE rv; |