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.
This commit is contained in:
parent
6f3abb076c
commit
8dbcedef30
9
xattr.c
9
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user