From: Dmitry V. Levin Date: Wed, 21 Dec 2016 21:13:18 +0000 (+0000) Subject: fcntl: change address argument type from long to kernel_ureg_t X-Git-Tag: v4.16~225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1007f7a276fd95995775e3bce47ea775a60f4b9a;p=strace fcntl: change address argument type from long to kernel_ureg_t * fcntl.c (printflock64, printflock, print_f_owner_ex): Change address argument type from long to kernel_ureg_t. --- diff --git a/fcntl.c b/fcntl.c index 0a8743b9..9caa53af 100644 --- a/fcntl.c +++ b/fcntl.c @@ -54,7 +54,7 @@ print_struct_flock64(const struct_kernel_flock64 *fl, const int getlk) } static void -printflock64(struct tcb *tcp, const long addr, const int getlk) +printflock64(struct tcb *const tcp, const kernel_ureg_t addr, const int getlk) { struct_kernel_flock64 fl; @@ -63,7 +63,7 @@ printflock64(struct tcb *tcp, const long addr, const int getlk) } static void -printflock(struct tcb *tcp, const long addr, const int getlk) +printflock(struct tcb *const tcp, const kernel_ureg_t addr, const int getlk) { struct_kernel_flock64 fl; @@ -72,7 +72,7 @@ printflock(struct tcb *tcp, const long addr, const int getlk) } static void -print_f_owner_ex(struct tcb *tcp, const long addr) +print_f_owner_ex(struct tcb *const tcp, const kernel_ureg_t addr) { struct { int type, pid; } owner;