As init_module has no compat wrapper, its first parameter is a pointer
and the second is length, they both have the same size as kernel_ulong_t
type.
* bjm.c (SYS_FUNC(init_module)): Obtain first two parameters using
getarg_ull, print address argument using printaddr_ull, print length
argument using "%llu" conversion specifier.
SYS_FUNC(init_module)
{
- printaddr(tcp->u_arg[0]);
- tprintf(", %lu, ", tcp->u_arg[1]);
+ printaddr_ull(getarg_ull(tcp, 0));
+ tprintf(", %llu, ", getarg_ull(tcp, 1));
printstr(tcp, tcp->u_arg[2], -1);
return RVAL_DECODED;