summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-07-11 14:41:00 +0000
committermpi <mpi@openbsd.org>2014-07-11 14:41:00 +0000
commit43e9b93cce40c3883b51a99af348e442b6367fbf (patch)
treeea309f0fd6febfb94d7854515e67c3e170075bdb
parentmissing prototypes (diff)
downloadwireguard-openbsd-43e9b93cce40c3883b51a99af348e442b6367fbf.tar.xz
wireguard-openbsd-43e9b93cce40c3883b51a99af348e442b6367fbf.zip
Use the correct type, found by naddy@.
-rw-r--r--sys/arch/i386/i386/bus_dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/bus_dma.c b/sys/arch/i386/i386/bus_dma.c
index d9c01eda627..dcd22886699 100644
--- a/sys/arch/i386/i386/bus_dma.c
+++ b/sys/arch/i386/i386/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.30 2014/07/11 09:36:26 mpi Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.31 2014/07/11 14:41:00 mpi Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -430,7 +430,7 @@ _bus_dmamem_map(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs,
size_t ssize;
bus_addr_t addr;
int curseg, pmapflags = 0, ret;
- struct kmem_pa_mode *kd;
+ const struct kmem_dyn_mode *kd;
if (flags & BUS_DMA_NOCACHE)
pmapflags |= PMAP_NOCACHE;