From 7b378e6b04a97c4d44e3d67dd3840fd7e9f105a0 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 1 Aug 2015 23:08:39 +0000 Subject: [PATCH] epoll_create1: mark return code with RVAL_FD flag * epoll.c (sys_epoll_create1): Set RVAL_FD flag in the return code. --- epoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epoll.c b/epoll.c index 28e3a5b6..bcc93382 100644 --- a/epoll.c +++ b/epoll.c @@ -10,7 +10,7 @@ SYS_FUNC(epoll_create1) { printflags(epollflags, tcp->u_arg[0], "EPOLL_???"); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; } #ifdef HAVE_SYS_EPOLL_H -- 2.50.1