Changes in uspace/app/trace/ipcp.c [40fd6f0:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/ipcp.c
r40fd6f0 rb7fd2a0 35 35 #include <stdio.h> 36 36 #include <stdlib.h> 37 #include <str_error.h> 37 38 #include <inttypes.h> 38 39 #include <adt/hash_table.h> … … 249 250 sysarg_t method; 250 251 sysarg_t service; 251 sysarg_t retval;252 errno_t retval; 252 253 proto_t *proto; 253 254 int cphone; … … 264 265 265 266 if ((display_mask & DM_IPC) != 0) { 266 printf("Response to %d: retval=% " PRIdn ", args = (%" PRIun ", "267 printf("Response to %d: retval=%s, args = (%" PRIun ", " 267 268 "%" PRIun ", %" PRIun ", %" PRIun ", %" PRIun ")\n", 268 hash, retval, IPC_GET_ARG1(*answer),269 hash, str_error_name(retval), IPC_GET_ARG1(*answer), 269 270 IPC_GET_ARG2(*answer), IPC_GET_ARG3(*answer), 270 271 IPC_GET_ARG4(*answer), IPC_GET_ARG5(*answer)); … … 280 281 if (oper->rv_type != V_VOID) { 281 282 putchar(' '); 282 val_print( retval, oper->rv_type);283 val_print((sysarg_t) retval, oper->rv_type); 283 284 } 284 285 … … 344 345 } 345 346 346 void ipcp_hangup(int phone, int rc)347 void ipcp_hangup(int phone, errno_t rc) 347 348 { 348 349 if ((display_mask & DM_SYSTEM) != 0) { 349 printf("Hang phone %d up -> % d\n", phone, rc);350 printf("Hang phone %d up -> %s\n", phone, str_error_name(rc)); 350 351 ipcp_connection_clear(phone); 351 352 }
Note:
See TracChangeset
for help on using the changeset viewer.