From 5d22f0742a3a5df57780ffafd5315897935fa525 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 2 Aug 2015 01:31:40 +0000 Subject: [PATCH] fanotify_init: mark return code with RVAL_FD flag * fanotify.c (sys_fanotify_init): Set RVAL_FD flag in the return code. --- fanotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanotify.c b/fanotify.c index 1c3b7f26..74b1d927 100644 --- a/fanotify.c +++ b/fanotify.c @@ -24,7 +24,7 @@ SYS_FUNC(fanotify_init) tprints(", "); tprint_open_modes((unsigned) tcp->u_arg[1]); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; } #include "xlat/fan_mark_flags.h" -- 2.50.1