From 9ec1fb02efe35ac9ac0a8c8bb33b795d90f774bd Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 24 Dec 2016 19:20:25 +0000 Subject: [PATCH] xattr: change size arguments type from unsigned long to kernel_ureg_t * xattr.c (print_xattr_val): Change type of insize and size arguments from unsigned long to kernel_ureg_t. (print_xattr_list): Change type of size argument from unsigned long to kernel_ureg_t. --- xattr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xattr.c b/xattr.c index 7eaefebb..b2a973be 100644 --- a/xattr.c +++ b/xattr.c @@ -42,8 +42,8 @@ static void print_xattr_val(struct tcb *const tcp, const kernel_ureg_t addr, - const unsigned long insize, - unsigned long size) + const kernel_ureg_t insize, + const kernel_ureg_t size) { tprints(", "); @@ -102,7 +102,7 @@ SYS_FUNC(fgetxattr) static void print_xattr_list(struct tcb *const tcp, const kernel_ureg_t addr, - const unsigned long size) + const kernel_ureg_t size) { if (!size || syserror(tcp)) { printaddr(addr); -- 2.40.0