freedreno/fdperf: fix print of base address
authorRob Clark <robdclark@chromium.org>
Sun, 5 Jul 2020 18:25:42 +0000 (11:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 15:08:15 +0000 (15:08 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5762>

src/freedreno/perfcntrs/fdperf.c

index 976f6ee77bb465aaa42c0bbb15d218a5107be712..b16865fe66a3ed0b4a1c9f0fbebe38eb84c10900 100644 (file)
@@ -311,7 +311,7 @@ find_device(void)
 
        free(b);
 
-       printf("i/o region at %08"PRIu64" (size: %x)\n", dev.base, dev.size);
+       printf("i/o region at %08"PRIx64" (size: %x)\n", dev.base, dev.size);
 
        /* try MAX_FREQ first as that will work regardless of old dt
         * dt bindings vs upstream bindings: