radeon: fix printf format specifier.
authorMaya Rashish <maya@NetBSD.org>
Sun, 6 Jan 2019 16:39:36 +0000 (18:39 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 9 Jan 2019 03:15:06 +0000 (14:15 +1100)
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@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/radeon/radeon_dma.c

index 4c1c5d046fd7fd34e5eb5798c0d4142d7b9c8d81..99c73d6ffcdc84302d14b6bc470818ef50d8ecae 100644 (file)
@@ -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)