]> granicus.if.org Git - strace/commitdiff
uid: change address argument type from unsigned long to kernel_ureg_t
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 22 Dec 2016 20:53:16 +0000 (20:53 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 23 Dec 2016 19:26:58 +0000 (19:26 +0000)
* uid.c (print_groups): Change address argument type
from unsigned long to kernel_ureg_t.

uid.c

diff --git a/uid.c b/uid.c
index 815a414491740c1a92248460069062bbf8b13d97..d45637d84ca5da8984312671ef00ead3f594b421 100644 (file)
--- a/uid.c
+++ b/uid.c
@@ -164,7 +164,8 @@ print_gid(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data)
 }
 
 static void
-print_groups(struct tcb *tcp, const unsigned int len, const unsigned long addr)
+print_groups(struct tcb *const tcp, const unsigned int len,
+            const kernel_ureg_t addr)
 {
        static unsigned long ngroups_max;
        if (!ngroups_max)