lookup_dcookie: print len parameter as kernel_ulong_t
It is size_t and without compat on x32/n32. * lookup_dcookie.c (SYS_FUNC(lookup_dcookie)): Change conversion specifier from "%lu" to "%llu", use getarg_ull for len argument retrieval.
This commit is contained in:
parent
6e6c11d9dd
commit
2119f8d6b0
@ -43,7 +43,7 @@ SYS_FUNC(lookup_dcookie)
|
||||
printstr(tcp, tcp->u_arg[argn], tcp->u_rval);
|
||||
|
||||
/* len */
|
||||
tprintf(", %lu", tcp->u_arg[argn + 1]);
|
||||
tprintf(", %llu", getarg_ull(tcp, argn + 1));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user