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:
Eugene Syromyatnikov 2016-10-27 10:24:21 +03:00 committed by Dmitry V. Levin
parent 6e6c11d9dd
commit 2119f8d6b0

View File

@ -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;
}