epoll_create1: mark return code with RVAL_FD flag

* epoll.c (sys_epoll_create1): Set RVAL_FD flag in the return code.
This commit is contained in:
2015-08-01 23:08:39 +00:00
parent 2716346602
commit 7b378e6b04

View File

@ -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