summaryrefslogtreecommitdiff
path: root/bsd
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-08-19 02:22:57 +0000
committerEric Anholt <anholt@freebsd.org>2003-08-19 02:22:57 +0000
commit963ad33cb6b85189f3385bcba46905b6d4d329db (patch)
treef7eb98a215c0e3194deba1f4519702a894670d5e /bsd
parentad78a613a49daea936372c75423ac17f9f83b092 (diff)
Fix the debug build.
Diffstat (limited to 'bsd')
-rw-r--r--bsd/drm_bufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd/drm_bufs.h b/bsd/drm_bufs.h
index 645698cc..d718eddd 100644
--- a/bsd/drm_bufs.h
+++ b/bsd/drm_bufs.h
@@ -546,7 +546,7 @@ static int DRM(addbufs_pci)(drm_device_t *dev, drm_buf_desc_t *request)
for ( i = 0 ; i < (1 << page_order) ; i++ ) {
DRM_DEBUG( "page %d @ 0x%08lx\n",
dma->page_count + page_count,
- page + PAGE_SIZE * i );
+ (long)vaddr + PAGE_SIZE * i );
temp_pagelist[dma->page_count + page_count++] =
vaddr + PAGE_SIZE * i;
}