summaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-04 14:17:31 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-04 14:17:31 +0000
commitceefa2d0df0fc62684c9b8e66771771b4e1de1d9 (patch)
treecbce4d1e3ea9fcbc0edf7fa638e8e05da0ca5289 /sys/vm/vm_page.c
parentfca5ed334ad21dfd9af87fdb1912570a693c7691 (diff)
VM_PAGE_INIT takes an offset as the 3rd arg, not a pointer
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 1d14a50ff2e..37131d3c021 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_page.c,v 1.3 1996/08/02 00:06:03 niklas Exp $ */
+/* $OpenBSD: vm_page.c,v 1.4 1997/01/04 14:17:30 niklas Exp $ */
/* $NetBSD: vm_page.c,v 1.28 1996/02/05 01:54:05 christos Exp $ */
/*
@@ -533,7 +533,7 @@ pmap_startup(startp, endp)
i = 0;
for (;;) {
/* Initialize a page array element. */
- VM_PAGE_INIT(&vm_page_array[i], NULL, NULL);
+ VM_PAGE_INIT(&vm_page_array[i], NULL, 0);
vm_page_array[i].phys_addr = paddr;
vm_page_free(&vm_page_array[i]);