From 1007f7a276fd95995775e3bce47ea775a60f4b9a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 21 Dec 2016 21:13:18 +0000 Subject: [PATCH] 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. --- fcntl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.40.0