Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/ipcp.c

    r1ccafee rd9c8c81  
    3636#include <stdlib.h>
    3737#include <adt/hash_table.h>
    38 #include <sys/typefmt.h>
    3938
    4039#include "ipc_desc.h"
     
    201200
    202201        if ((display_mask & DM_IPC) != 0) {
    203                 printf("Call ID: %p, phone: %d, proto: %s, method: ", hash,
     202                printf("Call ID: 0x%lx, phone: %d, proto: %s, method: ", hash,
    204203                        phone, (proto ? proto->name : "n/a"));
    205204                ipc_m_print(proto, IPC_GET_METHOD(*call));
    206                 printf(" args: (%" PRIuIPCARG ", %" PRIuIPCARG ", %" PRIuIPCARG
    207                     ", %" PRIuIPCARG ", %" PRIuIPCARG ")\n", args[1], args[2],
     205                printf(" args: (%lu, %lu, %lu, %lu, %lu)\n", args[1], args[2],
    208206                    args[3], args[4], args[5]);
    209207        }
     
    281279
    282280        if ((display_mask & DM_IPC) != 0) {
    283                 printf("Response to %p: retval=%ld, args = (%" PRIuIPCARG
    284                     ", %" PRIuIPCARG ", %" PRIuIPCARG ", %" PRIuIPCARG
    285                     ", %" PRIuIPCARG ")\n",
    286                     hash, retval, IPC_GET_ARG1(*answer),
    287                     IPC_GET_ARG2(*answer), IPC_GET_ARG3(*answer),
    288                     IPC_GET_ARG4(*answer), IPC_GET_ARG5(*answer));
     281                printf("Response to 0x%lx: retval=%ld, args = (%lu, %lu, %lu, %lu, %lu)\n",
     282                        hash, retval, IPC_GET_ARG1(*answer),
     283                        IPC_GET_ARG2(*answer), IPC_GET_ARG3(*answer),
     284                        IPC_GET_ARG4(*answer), IPC_GET_ARG5(*answer));
    289285        }
    290286
     
    340336                /* Not a response */
    341337                if ((display_mask & DM_IPC) != 0) {
    342                         printf("Not a response (hash %p)\n", hash);
     338                        printf("Not a response (hash 0x%lx)\n", hash);
    343339                }
    344340                return;
Note: See TracChangeset for help on using the changeset viewer.