Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskmon/taskmon.c

    r1ccafee rf0bdfb7  
    3939#include <async.h>
    4040#include <ipc/services.h>
    41 #include <sys/typefmt.h>
    4241#include <task.h>
    4342#include <event.h>
     
    6160        thread = IPC_GET_ARG3(*call);
    6261
    63         if (asprintf(&s_taskid, "%" PRIuTASKID, taskid) < 0) {
     62        if (asprintf(&s_taskid, "%lld", taskid) < 0) {
    6463                printf("Memory allocation failed.\n");
    6564                return;
    6665        }
    6766
    68         if (asprintf(&dump_fname, "/scratch/d" PRIuTASKID ".txt", taskid) < 0) {
     67        if (asprintf(&dump_fname, "/scratch/d%lld.txt", taskid) < 0) {
    6968                printf("Memory allocation failed.\n");
    7069                return;
    7170        }
    7271
    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);
    7473
    7574#ifdef CONFIG_VERBOSE_DUMPS
Note: See TracChangeset for help on using the changeset viewer.