aboutsummaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_debug.c1
-rw-r--r--vm/vm_map.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/vm/vm_debug.c b/vm/vm_debug.c
index 2dff2296..4b5c1521 100644
--- a/vm/vm_debug.c
+++ b/vm/vm_debug.c
@@ -48,6 +48,7 @@
#include <vm/vm_object.h>
#include <kern/task.h>
#include <kern/host.h>
+#include <kern/printf.h>
#include <ipc/ipc_port.h>
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 7fe3e141..9f5eb13d 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -737,7 +737,7 @@ restart:
max_size = size + mask;
if (max_size < size) {
- printf("max_size %x got smaller than size %x with mask %lx\n",
+ printf("max_size %lx got smaller than size %lx with mask %lx\n",
max_size, size, mask);
goto error;
}