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:
parent
a3c2e4e20b
commit
9ec1fb02ef
6
xattr.c
6
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user