Changes in uspace/srv/taskmon/taskmon.c [1ccafee:f0bdfb7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskmon/taskmon.c
r1ccafee rf0bdfb7 39 39 #include <async.h> 40 40 #include <ipc/services.h> 41 #include <sys/typefmt.h>42 41 #include <task.h> 43 42 #include <event.h> … … 61 60 thread = IPC_GET_ARG3(*call); 62 61 63 if (asprintf(&s_taskid, "% " PRIuTASKID, taskid) < 0) {62 if (asprintf(&s_taskid, "%lld", taskid) < 0) { 64 63 printf("Memory allocation failed.\n"); 65 64 return; 66 65 } 67 66 68 if (asprintf(&dump_fname, "/scratch/d " PRIuTASKID ".txt", taskid) < 0) {67 if (asprintf(&dump_fname, "/scratch/d%lld.txt", taskid) < 0) { 69 68 printf("Memory allocation failed.\n"); 70 69 return; 71 70 } 72 71 73 printf(NAME ": Task % " PRIuTASKID " fault in thread %p.\n", taskid, thread);72 printf(NAME ": Task %lld fault in thread 0x%lx.\n", taskid, thread); 74 73 75 74 #ifdef CONFIG_VERBOSE_DUMPS
Note:
See TracChangeset
for help on using the changeset viewer.