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