diff --git a/core/include/tcb.h b/core/include/tcb.h index 0fc0e7498d..018150db2c 100644 --- a/core/include/tcb.h +++ b/core/include/tcb.h @@ -25,8 +25,8 @@ /* uneven means has to be on runqueue */ #define STATUS_NOT_FOUND (0x0000) #define STATUS_ON_RUNQUEUE (0x0001) -#define STATUS_RUNNING (0x0002) + STATUS_ON_RUNQUEUE -#define STATUS_PENDING (0x0004) + STATUS_ON_RUNQUEUE +#define STATUS_RUNNING (0x0002 + STATUS_ON_RUNQUEUE) +#define STATUS_PENDING (0x0004 + STATUS_ON_RUNQUEUE) #define STATUS_STOPPED (0x0008) #define STATUS_SLEEPING (0x0010) #define STATUS_MUTEX_BLOCKED (0x0020) diff --git a/sys/vtimer/vtimer.c b/sys/vtimer/vtimer.c index 96cf576fd5..bc228e6aa2 100644 --- a/sys/vtimer/vtimer.c +++ b/sys/vtimer/vtimer.c @@ -304,7 +304,7 @@ void vtimer_print(vtimer_t *t) { printf("Seconds: %"PRIu32" - Microseconds: %"PRIu32"\n \ action: %p\n \ - action: %p\n \ + arg: %p\n \ pid: %u\n", t->absolute.seconds, t->absolute.microseconds, t->action,