summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-08-26 19:07:03 +0000
committerEric Anholt <anholt@freebsd.org>2005-08-26 19:07:03 +0000
commit5105f9ea59179c7129d3bf97734eb37e26ec68b0 (patch)
treefe8c82ee86ac5ed902e9a2b65fc9fde937e73f96 /bsd-core
parent55bea952b326b88f2fa6502321f605f96ee9be66 (diff)
Fix a lack of parenthesis in macro usage that showed up with INVARIANTS
turned on, i.e. in a kernel build.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/ati_pcigart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/ati_pcigart.c b/bsd-core/ati_pcigart.c
index f6131664..71b08d68 100644
--- a/bsd-core/ati_pcigart.c
+++ b/bsd-core/ati_pcigart.c
@@ -65,7 +65,7 @@ int drm_ati_pcigart_init(drm_device_t *dev, unsigned long *addr,
bzero(pci_gart, ATI_PCIGART_TABLE_SIZE);
- KASSERT(PAGE_SIZE >= ATI_PCIGART_PAGE_SIZE, "page size too small");
+ KASSERT(PAGE_SIZE >= ATI_PCIGART_PAGE_SIZE, ("page size too small"));
for ( i = 0 ; i < pages ; i++ ) {
page_base = (u32) dev->sg->busaddr[i];