fallocate.c: make use of RVAL_DECODED
* fallocate.c (sys_fallocate): Update for RVAL_DECODED.
This commit is contained in:
parent
a3a7ffee58
commit
5dcf3b1642
27
fallocate.c
27
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user