summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2011-12-16 12:42:02 +0000
committerse <se@FreeBSD.org>2011-12-16 12:42:02 +0000
commita1d123baf1a614eebf691a448c57e66558090ddc (patch)
tree084f5a6aa55c7083e92c061a692131cc196d0d21 /sys/dev
parent27a36f6ac8242750daa092abd7180b10d16f4508 (diff)
downloadFreeBSD-src-a1d123baf1a614eebf691a448c57e66558090ddc.zip
FreeBSD-src-a1d123baf1a614eebf691a448c57e66558090ddc.tar.gz
Fix format string Z --> z, since the former is a deprecated and (in FreeBSD)
unsupported form of the latter. This change has been reviewed and accepted in the -hackers list. Submitted by: Alexander Best Reviewed by: David Schulz
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/drm/mga_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/mga_drv.h b/sys/dev/drm/mga_drv.h
index 61b6e82..01c5c9d 100644
--- a/sys/dev/drm/mga_drv.h
+++ b/sys/dev/drm/mga_drv.h
@@ -288,7 +288,7 @@ do { \
do { \
if ( MGA_VERBOSE ) { \
DRM_INFO( "BEGIN_DMA( %d )\n", (n) ); \
- DRM_INFO( " space=0x%x req=0x%Zx\n", \
+ DRM_INFO( " space=0x%x req=0x%zx\n", \
dev_priv->prim.space, (n) * DMA_BLOCK_SIZE ); \
} \
prim = dev_priv->prim.start; \
@@ -338,7 +338,7 @@ do { \
#define DMA_WRITE( offset, val ) \
do { \
if ( MGA_VERBOSE ) { \
- DRM_INFO( " DMA_WRITE( 0x%08x ) at 0x%04Zx\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; \
OpenPOWER on IntegriCloud