From: Eugene S. <ev...@gm...> - 2016-09-21 21:21:30
|
long sys_fadvise64(int fd, loff_t offset, size_t len, int advice); * fadvise.c (SYS_FUNC(fadvise64)): change conversion specifier from "%ld" to "%lu" for printing len argument since kernel expects argument of type size_t. --- fadvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fadvise.c b/fadvise.c index 2001394..208f533 100644 --- a/fadvise.c +++ b/fadvise.c @@ -42,7 +42,7 @@ SYS_FUNC(fadvise64) printfd(tcp, tcp->u_arg[0]); argn = printllval(tcp, ", %lld", 1); - tprintf(", %ld, ", tcp->u_arg[argn++]); + tprintf(", %lu, ", tcp->u_arg[argn++]); printxval(advise, tcp->u_arg[argn], "POSIX_FADV_???"); return RVAL_DECODED; -- 1.7.10.4 |