Date: Fri, 16 Dec 2011 12:42:03 +0000 (UTC) From: Stefan Esser <se@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228572 - head/sys/dev/drm Message-ID: <201112161242.pBGCg3Ph007129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Fri Dec 16 12:42:02 2011 New Revision: 228572 URL: http://svn.freebsd.org/changeset/base/228572 Log: 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 Modified: head/sys/dev/drm/mga_drv.h Modified: head/sys/dev/drm/mga_drv.h ============================================================================== --- head/sys/dev/drm/mga_drv.h Fri Dec 16 12:16:56 2011 (r228571) +++ head/sys/dev/drm/mga_drv.h Fri Dec 16 12:42:02 2011 (r228572) @@ -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; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112161242.pBGCg3Ph007129>