aboutsummaryrefslogtreecommitdiff
path: root/src/util/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/mutex.c')
-rw-r--r--src/util/mutex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/mutex.c b/src/util/mutex.c
index 0a47a35..a60cea6 100644
--- a/src/util/mutex.c
+++ b/src/util/mutex.c
@@ -1,4 +1,5 @@
#include <cpu.h>
+#include <drivers/uart.h>
#include <util/mutex.h>
#include <util/lock.h>
#include <globals.h>
@@ -59,11 +60,11 @@ void uart_mutexes(void)
while (entry->entry_type == VALUE_ENTRY)
{
struct Mutex* m = entry->value;
- uart_hex(m);
+ uart_hex((unsigned long)m);
uart_char(' ');
uart_hex(m->pid);
uart_char(' ');
- uart_hexn(m->addr);
+ uart_hexn((unsigned long)m->addr);
entry = entry->next;
}
}