From a2ddb710fdef5f24bfe10d0ee09b1f32ea53aaa8 Mon Sep 17 00:00:00 2001 From: Maya Rashish Date: Sun, 6 Jan 2019 18:39:36 +0200 Subject: [PATCH] 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 Reviewed-by: Timothy Arceri --- 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 4c1c5d046fd..99c73d6ffcd 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) -- 2.30.2