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.
This commit is contained in:
Дмитрий Левин 2016-12-24 19:20:25 +00:00
parent a3c2e4e20b
commit 9ec1fb02ef

View File

@ -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);