Mesa (master): radeon: fix printf format specifier.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 9 03:19:39 UTC 2019
Module: Mesa
Branch: master
Commit: a2ddb710fdef5f24bfe10d0ee09b1f32ea53aaa8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2ddb710fdef5f24bfe10d0ee09b1f32ea53aaa8
Author: Maya Rashish <maya at NetBSD.org>
Date: Sun Jan 6 18:39:36 2019 +0200
radeon: fix printf format specifier.
>From glibc printf(3):
Z A nonstandard synonym for z that predates the appearance of z.
Do not use in new code.
Z may not exist on non-glibc systems. Prefer the standard symbol.
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
---
src/mesa/drivers/dri/radeon/radeon_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_dma.c b/src/mesa/drivers/dri/radeon/radeon_dma.c
index 4c1c5d046f..99c73d6ffc 100644
--- a/src/mesa/drivers/dri/radeon/radeon_dma.c
+++ b/src/mesa/drivers/dri/radeon/radeon_dma.c
@@ -217,7 +217,7 @@ void radeonRefillCurrentDmaRegion(radeonContextPtr rmesa, int size)
if (size > rmesa->dma.minimum_size)
rmesa->dma.minimum_size = (size + 15) & (~15);
- radeon_print(RADEON_DMA, RADEON_NORMAL, "%s size %d minimum_size %Zi\n",
+ radeon_print(RADEON_DMA, RADEON_NORMAL, "%s size %d minimum_size %zi\n",
__func__, size, rmesa->dma.minimum_size);
if (is_empty_list(&rmesa->dma.free)
More information about the mesa-commit
mailing list