summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2011-04-04 12:23:00 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2011-04-04 12:23:00 +0000
commitfed4c7bb951bded0efb38e873b7fc1d69c477ee9 (patch)
tree473f4fc42b620834e9bf8157ea1fe6cf9621ff0e /sys/uvm
parent1ee491f1fe23504cb7f9a9053350b3e7a0d504ba (diff)
Make gcc stop whining. pointed out by ariane@.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_km.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c
index 1f86cabfcb4..bfaed38cdcc 100644
--- a/sys/uvm/uvm_km.c
+++ b/sys/uvm/uvm_km.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_km.c,v 1.88 2011/04/04 11:56:12 art Exp $ */
+/* $OpenBSD: uvm_km.c,v 1.89 2011/04/04 12:22:59 art Exp $ */
/* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */
/*
@@ -936,7 +936,7 @@ km_alloc(size_t sz, struct kmem_va_mode *kv, struct kmem_pa_mode *kp,
int mapflags = 0;
vm_prot_t prot;
int pla_flags;
- paddr_t pa;
+ paddr_t pa = 0;
vaddr_t va, sva;
KASSERT(sz == round_page(sz));