Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm/dist/shared-core fix printf formats.
details: https://anonhg.NetBSD.org/src/rev/02a1983025fa
branches: trunk
changeset: 765400:02a1983025fa
user: christos <christos%NetBSD.org@localhost>
date: Wed May 25 14:11:36 2011 +0000
description:
fix printf formats.
diffstat:
sys/external/bsd/drm/dist/shared-core/mga_drv.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 594e7b4e7768 -r 02a1983025fa sys/external/bsd/drm/dist/shared-core/mga_drv.h
--- a/sys/external/bsd/drm/dist/shared-core/mga_drv.h Wed May 25 12:01:30 2011 +0000
+++ b/sys/external/bsd/drm/dist/shared-core/mga_drv.h Wed May 25 14:11:36 2011 +0000
@@ -285,7 +285,7 @@
do { \
if ( MGA_VERBOSE ) { \
DRM_INFO( "BEGIN_DMA( %d )\n", (n) ); \
- DRM_INFO( " space=0x%x req=0x%lx\n", \
+ DRM_INFO( " space=0x%x req=0x%x\n", \
dev_priv->prim.space, (n) * DMA_BLOCK_SIZE ); \
} \
prim = dev_priv->prim.start; \
@@ -335,7 +335,7 @@
#define DMA_WRITE( offset, val ) \
do { \
if ( MGA_VERBOSE ) { \
- DRM_INFO( " DMA_WRITE( 0x%08x ) at 0x%04lx\n", \
+ DRM_INFO( " DMA_WRITE( 0x%08x ) at 0x%04zx\n", \
(u32)(val), write + (offset) * sizeof(u32) ); \
} \
*(volatile u32 *)(prim + write + (offset) * sizeof(u32)) = val; \
Home |
Main Index |
Thread Index |
Old Index