From 2119f8d6b0ef361f37f31e307267b7cda249e2c2 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Thu, 27 Oct 2016 10:24:21 +0300 Subject: [PATCH] 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. --- lookup_dcookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookup_dcookie.c b/lookup_dcookie.c index c95e5939..a58214a1 100644 --- a/lookup_dcookie.c +++ b/lookup_dcookie.c @@ -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; }