Changeset 1ccafee in mainline for uspace/app/trace/trace.c
- Timestamp:
- 2010-01-27T22:22:09Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b9ac3c, a9bbe48d
- Parents:
- fb6f1a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/trace/trace.c
rfb6f1a5 r1ccafee 49 49 #include <io/keycode.h> 50 50 #include <fibril_synch.h> 51 #include <sys/types.h> 52 #include <sys/typefmt.h> 51 53 52 54 #include <libc.h> … … 159 161 if (rc < 0) { 160 162 printf("Error connecting\n"); 161 printf("ipc_connect_task(% lld) -> %d ", task_id, rc);163 printf("ipc_connect_task(%" PRIdTASKID ") -> %d ", task_id, rc); 162 164 return rc; 163 165 } … … 275 277 276 278 putchar('('); 277 if (n > 0) printf("% ld", sc_args[0]);279 if (n > 0) printf("%" PRIdSYSARG, sc_args[0]); 278 280 for (i = 1; i < n; i++) { 279 printf(", % ld", sc_args[i]);281 printf(", %" PRIdSYSARG, sc_args[i]); 280 282 } 281 283 putchar(')'); … … 972 974 rc = connect_task(task_id); 973 975 if (rc < 0) { 974 printf("Failed connecting to task % lld.\n", task_id);976 printf("Failed connecting to task %" PRIdTASKID ".\n", task_id); 975 977 return 1; 976 978 } 977 979 978 printf("Connected to task % lld.\n", task_id);980 printf("Connected to task %" PRIdTASKID ".\n", task_id); 979 981 980 982 if (task_ldr != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.