From 8dbcedef30b1eb60267ba4d7ea7c3f0218dcf299 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 22 Dec 2016 20:54:10 +0000 Subject: [PATCH] xattr: change address argument type from unsigned long to kernel_ureg_t * xattr.c (print_xattr_val, print_xattr_list): Change address argument type from unsigned long to kernel_ureg_t. --- xattr.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xattr.c b/xattr.c index 721d39fc..b52c71d3 100644 --- a/xattr.c +++ b/xattr.c @@ -40,9 +40,9 @@ #endif static void -print_xattr_val(struct tcb *tcp, - unsigned long addr, - unsigned long insize, +print_xattr_val(struct tcb *const tcp, + const kernel_ureg_t addr, + const unsigned long insize, unsigned long size) { tprints(", "); @@ -101,7 +101,8 @@ SYS_FUNC(fgetxattr) } static void -print_xattr_list(struct tcb *tcp, unsigned long addr, unsigned long size) +print_xattr_list(struct tcb *const tcp, const kernel_ureg_t addr, + const unsigned long size) { if (!size || syserror(tcp)) { printaddr(addr); -- 2.40.0