* fcntl.c (SYS_FUNC(fcntl)): Set RVAL_FD flag in the return code
for F_DUPFD and F_DUPFD_CLOEXEC operations.
tprints(", ");
printflags(fdflags, tcp->u_arg[2], "FD_???");
break;
- case F_SETOWN: case F_DUPFD:
- case F_DUPFD_CLOEXEC:
+ case F_SETOWN:
tprintf(", %ld", tcp->u_arg[2]);
break;
+ case F_DUPFD:
+ case F_DUPFD_CLOEXEC:
+ tprintf(", %ld", tcp->u_arg[2]);
+ return RVAL_DECODED | RVAL_FD;
case F_SETFL:
tprints(", ");
tprint_open_modes(tcp->u_arg[2]);