summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:02:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:02:18 +0000
commit8bd27a21125fec410de2fd9d839ea136711aaa0f (patch)
treefb05772eb757ff97bc8081f68b597305f6b5cf65 /sys/ddb/db_command.c
parent9adfcf2b03e0df61917b9fedb42b0469881a87d8 (diff)
update from netbsd
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 7b6a14cb7fc..5792e9bc6e7 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.c,v 1.13 1994/10/09 08:29:59 mycroft Exp $ */
+/* $NetBSD: db_command.c,v 1.15 1995/10/26 14:52:33 gwr Exp $ */
/*
* Mach Operating System
@@ -32,6 +32,8 @@
#include <sys/param.h>
#include <sys/proc.h>
+#include <vm/vm.h>
+
#include <machine/db_machdep.h> /* type definitions */
#include <ddb/db_lex.h>
@@ -291,7 +293,7 @@ db_map_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
- _vm_map_print(addr, full, db_printf);
+ _vm_map_print((vm_map_t)addr, full, db_printf);
}
/*ARGSUSED*/
@@ -308,7 +310,7 @@ db_object_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
- _vm_object_print(addr, full, db_printf);
+ _vm_object_print((vm_object_t)addr, full, db_printf);
}
/*