dumpiov_upto: cast pointers to kernel_ureg_t instead of long
* util.c (dumpiov_upto): Cast iovec.iov_base pointer to kernel_ureg_t instead of long.
This commit is contained in:
parent
aa350a2b97
commit
23cbf90c18
2
util.c
2
util.c
@ -960,7 +960,7 @@ dumpiov_upto(struct tcb *tcp, int len, long addr, unsigned long data_size)
|
||||
/* include the buffer number to make it easy to
|
||||
* match up the trace with the source */
|
||||
tprintf(" * %lu bytes in buffer %d\n", iov_len, i);
|
||||
dumpstr(tcp, (long) iov_iov_base(i), iov_len);
|
||||
dumpstr(tcp, (kernel_ureg_t) iov_iov_base(i), iov_len);
|
||||
}
|
||||
}
|
||||
free(iov);
|
||||
|
Loading…
x
Reference in New Issue
Block a user