diff options
author | 2009-06-08 11:16:11 +0000 | |
---|---|---|
committer | 2009-06-08 11:16:11 +0000 | |
commit | 8d695c48019da42cc00e32dc87b7908972776628 (patch) | |
tree | f69ff4f56e7a79b48a54479aae1ed6199d291fdc | |
parent | fix non standard/valid usage of ? : operator. (diff) | |
download | wireguard-openbsd-8d695c48019da42cc00e32dc87b7908972776628.tar.xz wireguard-openbsd-8d695c48019da42cc00e32dc87b7908972776628.zip |
fix non standard/valid usage of ? : operator on amd64
as well, reminded by miod@
-rw-r--r-- | sys/arch/amd64/amd64/sg_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/sg_dma.c b/sys/arch/amd64/amd64/sg_dma.c index c726660bd0a..86488e306d8 100644 --- a/sys/arch/amd64/amd64/sg_dma.c +++ b/sys/arch/amd64/amd64/sg_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sg_dma.c,v 1.4 2009/06/07 02:30:34 oga Exp $ */ +/* $OpenBSD: sg_dma.c,v 1.5 2009/06/08 11:16:11 jsg Exp $ */ /* * Copyright (c) 2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -228,7 +228,7 @@ sg_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf, boundary = map->_dm_boundary; align = MAX(map->dm_segs[0]._ds_align, PAGE_SIZE); - pmap = p ? p->p_vmspace->vm_map.pmap : pmap = pmap_kernel(); + pmap = p ? p->p_vmspace->vm_map.pmap : pmap_kernel(); /* Count up the total number of pages we need */ sg_iomap_clear_pages(spm); |