diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-08 11:08:52 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-06-08 11:08:52 +0000 |
commit | f84d52bb3aaf47b56640b22a465ce7c0f492f3eb (patch) | |
tree | 10abe4b95da35b570f00f274794c388cf8ae0faf | |
parent | e6a53c71f8fee585721e24d69db081a3fbdf0224 (diff) |
fix non standard/valid usage of ? : operator.
ok oga@
-rw-r--r-- | sys/arch/i386/i386/sg_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/sg_dma.c b/sys/arch/i386/i386/sg_dma.c index a0d2f021e41..361a248bd4a 100644 --- a/sys/arch/i386/i386/sg_dma.c +++ b/sys/arch/i386/i386/sg_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sg_dma.c,v 1.1 2009/06/06 05:31:01 oga Exp $ */ +/* $OpenBSD: sg_dma.c,v 1.2 2009/06/08 11:08:51 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); |