summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2022-06-28 12:10:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-27 21:16:15 +0200
commit499f154bf12fe15c6aa1740100e4545a71490be1 (patch)
treed7a3df1d591249689eae742add539248cae9a6d5 /vm
parenta3db37b8837c091f6018257f2de5bb740350f3f5 (diff)
fix warnings for 32 bit builds
Signed-off-by: Luca Dariz <luca@orpolo.org> Message-Id: <20220628101054.446126-13-luca@orpolo.org>
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;
}