Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
readahead.c: make use of RVAL_DECODED
Browse files Browse the repository at this point in the history
* readahead.c (sys_readahead.c): Update for RVAL_DECODED.
  • Loading branch information
ldv-alt committed Jul 18, 2015
1 parent 8e0a18f commit 8ef8a4c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readahead.c
Expand Up @@ -2,11 +2,11 @@

SYS_FUNC(readahead)
{
if (entering(tcp)) {
int argn;
printfd(tcp, tcp->u_arg[0]);
argn = printllval(tcp, ", %lld", 1);
tprintf(", %ld", tcp->u_arg[argn]);
}
return 0;
int argn;

printfd(tcp, tcp->u_arg[0]);
argn = printllval(tcp, ", %lld", 1);
tprintf(", %ld", tcp->u_arg[argn]);

return RVAL_DECODED;
}

0 comments on commit 8ef8a4c

Please sign in to comment.