fadvise.c: make use of RVAL_DECODED
* fadvise.c (sys_fadvise64, sys_fadvise64_64): Update for RVAL_DECODED.
This commit is contained in:
parent
5dcf3b1642
commit
429c6775d4
34
fadvise.c
34
fadvise.c
@ -6,28 +6,28 @@
|
||||
|
||||
SYS_FUNC(fadvise64)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
int argn;
|
||||
printfd(tcp, tcp->u_arg[0]);
|
||||
argn = printllval(tcp, ", %lld", 1);
|
||||
tprintf(", %ld, ", tcp->u_arg[argn++]);
|
||||
printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???");
|
||||
}
|
||||
return 0;
|
||||
int argn;
|
||||
|
||||
printfd(tcp, tcp->u_arg[0]);
|
||||
argn = printllval(tcp, ", %lld", 1);
|
||||
tprintf(", %ld, ", tcp->u_arg[argn++]);
|
||||
printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???");
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
||||
SYS_FUNC(fadvise64_64)
|
||||
{
|
||||
if (entering(tcp)) {
|
||||
int argn;
|
||||
printfd(tcp, tcp->u_arg[0]);
|
||||
argn = printllval(tcp, ", %lld, ", 1);
|
||||
argn = printllval(tcp, "%lld, ", argn);
|
||||
int argn;
|
||||
|
||||
printfd(tcp, tcp->u_arg[0]);
|
||||
argn = printllval(tcp, ", %lld, ", 1);
|
||||
argn = printllval(tcp, "%lld, ", argn);
|
||||
#if defined __ARM_EABI__ || defined AARCH64 || defined POWERPC || defined XTENSA
|
||||
printxval(advise, tcp->u_arg[1], "POSIX_FADV_???");
|
||||
printxval(advise, tcp->u_arg[1], "POSIX_FADV_???");
|
||||
#else
|
||||
printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???");
|
||||
printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???");
|
||||
#endif
|
||||
}
|
||||
return 0;
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user