Changeset 19f24fd in mainline for uspace/srv/taskmon/taskmon.c
- Timestamp:
- 2010-02-05T22:25:52Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dafa2d04
- Parents:
- 83349b03 (diff), d42976c (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/srv/taskmon/taskmon.c
r83349b03 r19f24fd 39 39 #include <async.h> 40 40 #include <ipc/services.h> 41 #include <sys/typefmt.h> 41 42 #include <task.h> 42 43 #include <event.h> … … 60 61 thread = IPC_GET_ARG3(*call); 61 62 62 if (asprintf(&s_taskid, "% lld", taskid) < 0) {63 if (asprintf(&s_taskid, "%" PRIuTASKID, taskid) < 0) { 63 64 printf("Memory allocation failed.\n"); 64 65 return; 65 66 } 66 67 67 if (asprintf(&dump_fname, "/scratch/d %lld.txt", taskid) < 0) {68 if (asprintf(&dump_fname, "/scratch/d" PRIuTASKID ".txt", taskid) < 0) { 68 69 printf("Memory allocation failed.\n"); 69 70 return; 70 71 } 71 72 72 printf(NAME ": Task % lld fault in thread 0x%lx.\n", taskid, thread);73 printf(NAME ": Task %" PRIuTASKID " fault in thread %p.\n", taskid, thread); 73 74 74 75 #ifdef CONFIG_VERBOSE_DUMPS
Note:
See TracChangeset
for help on using the changeset viewer.