Changes in uspace/app/trace/ipcp.c [1ccafee:d9c8c81] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/ipcp.c
r1ccafee rd9c8c81 36 36 #include <stdlib.h> 37 37 #include <adt/hash_table.h> 38 #include <sys/typefmt.h>39 38 40 39 #include "ipc_desc.h" … … 201 200 202 201 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, 204 203 phone, (proto ? proto->name : "n/a")); 205 204 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], 208 206 args[3], args[4], args[5]); 209 207 } … … 281 279 282 280 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)); 289 285 } 290 286 … … 340 336 /* Not a response */ 341 337 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); 343 339 } 344 340 return;
Note:
See TracChangeset
for help on using the changeset viewer.