fetch_struct_msghdr: change address argument type from unsigned long to kernel_ureg_t
* fetch_struct_msghdr.c (fetch_struct_msghdr): Change address argument type from unsigned long to kernel_ureg_t.
This commit is contained in:
parent
f806439e29
commit
5607a0e2b0
@ -43,9 +43,10 @@ typedef struct msghdr struct_msghdr;
|
||||
*/
|
||||
|
||||
MPERS_PRINTER_DECL(int, fetch_struct_msghdr,
|
||||
struct tcb *tcp, const unsigned long addr, void *p)
|
||||
struct tcb *const tcp, const kernel_ureg_t addr,
|
||||
void *const p)
|
||||
{
|
||||
struct msghdr *p_native = p;
|
||||
struct msghdr *const p_native = p;
|
||||
struct_msghdr v_compat;
|
||||
|
||||
if (sizeof(*p_native) == sizeof(v_compat))
|
||||
|
Loading…
x
Reference in New Issue
Block a user