Changeset ba519f7 in mainline for uspace/app/trace/ipcp.c
- Timestamp:
- 2010-12-02T17:21:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3bd76491
- Parents:
- 8ad673a (diff), 41a7f62 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/ipcp.c
r8ad673a rba519f7 137 137 138 138 if (oper != NULL) { 139 printf("%s (% ld)", oper->name, method);139 printf("%s (%" PRIun ")", oper->name, method); 140 140 return; 141 141 } 142 142 143 printf("% ld", method);143 printf("%" PRIun, method); 144 144 } 145 145 … … 201 201 202 202 if ((display_mask & DM_IPC) != 0) { 203 printf("Call ID: %p, phone: %d, proto: %s, method: ", hash, 204 phone, (proto ? proto->name : "n/a")); 203 printf("Call ID: %p, phone: %d, proto: %s, method: ", 204 (void *) hash, phone, 205 (proto ? proto->name : "n/a")); 205 206 ipc_m_print(proto, IPC_GET_METHOD(*call)); 206 printf(" args: (%" PRIu IPCARG ", %" PRIuIPCARG ", %" PRIuIPCARG207 " , %" PRIuIPCARG ", %" PRIuIPCARG ")\n", args[1], args[2],208 args[ 3], args[4], args[5]);207 printf(" args: (%" PRIun ", %" PRIun ", %" PRIun ", " 208 "%" PRIun ", %" PRIun ")\n", 209 args[1], args[2], args[3], args[4], args[5]); 209 210 } 210 211 … … 281 282 282 283 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), 284 printf("Response to %p: retval=%" PRIdn ", args = (%" PRIun ", " 285 "%" PRIun ", %" PRIun ", %" PRIun ", %" PRIun ")\n", 286 (void *) hash, retval, IPC_GET_ARG1(*answer), 287 287 IPC_GET_ARG2(*answer), IPC_GET_ARG3(*answer), 288 288 IPC_GET_ARG4(*answer), IPC_GET_ARG5(*answer)); … … 340 340 /* Not a response */ 341 341 if ((display_mask & DM_IPC) != 0) { 342 printf("Not a response (hash %p)\n", hash);342 printf("Not a response (hash %p)\n", (void *) hash); 343 343 } 344 344 return;
Note:
See TracChangeset
for help on using the changeset viewer.