fetch_struct_flock: change address argument type from long to kernel_ureg_t
* fetch_struct_flock.c (fetch_struct_flock, fetch_struct_flock64): Change address argument type from long to kernel_ureg_t.
This commit is contained in:
@@ -51,8 +51,8 @@ typedef struct_kernel_flock64 struct_flock64;
|
||||
&& FLOCK_MEMBERS_EQ(type, l_len) \
|
||||
&& FLOCK_MEMBERS_EQ(type, l_pid))
|
||||
|
||||
MPERS_PRINTER_DECL(bool, fetch_struct_flock,
|
||||
struct tcb *tcp, const long addr, void *p)
|
||||
MPERS_PRINTER_DECL(bool, fetch_struct_flock, struct tcb *const tcp,
|
||||
const kernel_ureg_t addr, void *const p)
|
||||
{
|
||||
struct_kernel_flock64 *pfl = p;
|
||||
struct_flock mfl;
|
||||
@@ -71,8 +71,8 @@ MPERS_PRINTER_DECL(bool, fetch_struct_flock,
|
||||
return true;
|
||||
}
|
||||
|
||||
MPERS_PRINTER_DECL(bool, fetch_struct_flock64,
|
||||
struct tcb *tcp, const long addr, void *p)
|
||||
MPERS_PRINTER_DECL(bool, fetch_struct_flock64, struct tcb *const tcp,
|
||||
const kernel_ureg_t addr, void *const p)
|
||||
{
|
||||
struct_kernel_flock64 *pfl = p;
|
||||
struct_flock64 mfl;
|
||||
|
||||
Reference in New Issue
Block a user