Since it is of kernel_ulont_t type, in fact. * bjm.c (SYS_FUNC(init_module)): Use "%llu" conversion specifier, obtain len aargument via getarg_ull. --- bjm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bjm.c b/bjm.c index e77b73d..c8e8470 100644 --- a/bjm.c +++ b/bjm.c @@ -45,7 +45,7 @@ SYS_FUNC(delete_module) SYS_FUNC(init_module) { printaddr(tcp->u_arg[0]); - tprintf(", %lu, ", tcp->u_arg[1]); + tprintf(", %llu, ", getarg_ull(tcp, 1)); printstr(tcp, tcp->u_arg[2], -1); return RVAL_DECODED; -- 1.7.10.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel