From: Dmitry V. Levin Date: Mon, 20 Jul 2015 13:53:38 +0000 (+0000) Subject: fallocate.c: make use of RVAL_DECODED X-Git-Tag: v4.11~367 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dcf3b164215cd8c137f509a186376684c66a686;p=strace fallocate.c: make use of RVAL_DECODED * fallocate.c (sys_fallocate): Update for RVAL_DECODED. --- diff --git a/fallocate.c b/fallocate.c index c096c982..0b1cfec9 100644 --- a/fallocate.c +++ b/fallocate.c @@ -8,22 +8,21 @@ SYS_FUNC(fallocate) { - if (entering(tcp)) { - int argn; + int argn; - /* fd */ - printfd(tcp, tcp->u_arg[0]); - tprints(", "); + /* fd */ + printfd(tcp, tcp->u_arg[0]); + tprints(", "); - /* mode */ - printflags(falloc_flags, tcp->u_arg[1], "FALLOC_FL_???"); - tprints(", "); + /* mode */ + printflags(falloc_flags, tcp->u_arg[1], "FALLOC_FL_???"); + tprints(", "); - /* offset */ - argn = printllval(tcp, "%llu, ", 2); + /* offset */ + argn = printllval(tcp, "%llu, ", 2); - /* len */ - printllval(tcp, "%llu", argn); - } - return 0; + /* len */ + printllval(tcp, "%llu", argn); + + return RVAL_DECODED; }