Changes in uspace/srv/taskmon/taskmon.c [f0bdfb7:1ccafee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskmon/taskmon.c
rf0bdfb7 r1ccafee 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.