]> granicus.if.org Git - strace/blobdiff - poll.c
tests: check decoding of prctl PR_GET_TID_ADDRESS operation
[strace] / poll.c
diff --git a/poll.c b/poll.c
index c612c5ee42e7ac43b38fc907cf283fb4bf7f2578..f2a2381489eb1667c2b0d8f68b5124b294321133 100644 (file)
--- a/poll.c
+++ b/poll.c
@@ -95,7 +95,7 @@ decode_poll_exiting(struct tcb *const tcp, const kernel_ulong_t pts)
                                *outptr++ = '[';
                        else
                                outptr = stpcpy(outptr, ", ");
-                       outptr += sprintf(outptr, "%#" PRI_krx, cur);
+                       outptr += sprintf(outptr, "%#" PRI_klx, cur);
                        break;
                }
                if (!fds.revents)
@@ -176,9 +176,9 @@ SYS_FUNC(ppoll)
 
                print_timespec(tcp, tcp->u_arg[2]);
                tprints(", ");
-               /* NB: kernel requires arg[4] == NSIG / 8 */
+               /* NB: kernel requires arg[4] == NSIG_BYTES */
                print_sigset_addr_len(tcp, tcp->u_arg[3], tcp->u_arg[4]);
-               tprintf(", %" PRI_kru, tcp->u_arg[4]);
+               tprintf(", %" PRI_klu, tcp->u_arg[4]);
 
                return 0;
        } else {