]> granicus.if.org Git - strace/commitdiff
poll: change address argument type from long to kernel_ureg_t
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 22 Dec 2016 16:56:14 +0000 (16:56 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 25 Dec 2016 11:32:44 +0000 (11:32 +0000)
* poll.c (decode_poll_exiting): Change tracee address argument type
from long to kernel_ureg_t.

poll.c

diff --git a/poll.c b/poll.c
index 6ac9bec94bc98dc7a4df5fbf95889672ea7b8a01..147f6b1a3d368b833402dd2e14a879f83078ee83 100644 (file)
--- a/poll.c
+++ b/poll.c
@@ -60,7 +60,7 @@ decode_poll_entering(struct tcb *tcp)
 }
 
 static int
-decode_poll_exiting(struct tcb *tcp, const long pts)
+decode_poll_exiting(struct tcb *const tcp, const kernel_ureg_t pts)
 {
        struct pollfd fds;
        const unsigned int nfds = tcp->u_arg[1];