]> granicus.if.org Git - strace/commitdiff
2006-04-25 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 25 Apr 2006 07:22:01 +0000 (07:22 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 25 Apr 2006 07:22:01 +0000 (07:22 +0000)
* ipc.c (sys_semtimedop): Fixed inverted indirect_ipccall test.
* linux/hppa/syscallent.h: Fixed semtimedop entry.
From Mike Stroyan <mike.stroyan@hp.com>.
Fixes Debian#340239.

ipc.c
linux/hppa/syscallent.h

diff --git a/ipc.c b/ipc.c
index 79101a947b1c651c2c5acef2a625c81b35e79fde..6ee7b71a2c2a55b76f78c18a646f957d9cd80583 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -293,7 +293,7 @@ struct tcb *tcp;
 {
        if (entering(tcp)) {
                tprintf("%lu", tcp->u_arg[0]);
-               if (!indirect_ipccall(tcp)) {
+               if (indirect_ipccall(tcp)) {
                        tprintf(", %#lx", tcp->u_arg[3]);
                        tprintf(", %lu, ", tcp->u_arg[1]);
                        printtv(tcp, tcp->u_arg[5]);
index f4c9dd6781f380e40286be2d6f12828252757e72..e23e1a3222e1e2713c914938b7d069bb4371cc51 100644 (file)
        { 4,    TD,     sys_epoll_ctl,          "epoll_ctl"             }, /* 225 */
        { 4,    TD,     sys_epoll_wait,         "epoll_wait"            }, /* 226 */
        { 5,    0,      printargs,              "remap_file_pages"      }, /* 227 */
-       { 5,    0,      printargs,              "semtimedop"            }, /* 228 */
+       { 5,    TI,     sys_semtimedop,         "semtimedop"            }, /* 228 */
        { 5,    0,      printargs,              "mq_open"               }, /* 229 */
        { 5,    0,      printargs,              "mq_unlink"             }, /* 230 */
        { 5,    0,      printargs,              "mq_timedsend"          }, /* 231 */