]> granicus.if.org Git - strace/commitdiff
inotify_init1: mark return code with RVAL_FD flag
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 2 Aug 2015 01:34:57 +0000 (01:34 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 2 Aug 2015 01:34:57 +0000 (01:34 +0000)
* inotify.c (sys_inotify_init1): Set RVAL_FD flag in the return code.

inotify.c

index 85fc59c5125dc048440415eed45353dcdcc1c3a0..98d24f286030f223b0853e790f5b2d2e628711cd 100644 (file)
--- a/inotify.c
+++ b/inotify.c
@@ -32,5 +32,5 @@ SYS_FUNC(inotify_init1)
 {
        printflags(inotify_init_flags, tcp->u_arg[0], "IN_???");
 
-       return RVAL_DECODED;
+       return RVAL_DECODED | RVAL_FD;
 }