Mesa (master): pan/decode: Fix "Access to unknown memory" message formatting

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 16 21:58:12 UTC 2020


Module: Mesa
Branch: master
Commit: 2a627e7a03d2c216845662c0da724b9fdbcaf3fd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a627e7a03d2c216845662c0da724b9fdbcaf3fd

Author: Icecream95 <ixn at disroot.org>
Date:   Wed Dec 16 23:00:24 2020 +1300

pan/decode: Fix "Access to unknown memory" message formatting

The format string was missing a newline.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8130>

---

 src/panfrost/lib/decode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/lib/decode.h b/src/panfrost/lib/decode.h
index 2b9bcb2d6c9..cd59e17811b 100644
--- a/src/panfrost/lib/decode.h
+++ b/src/panfrost/lib/decode.h
@@ -56,7 +56,7 @@ __pandecode_fetch_gpu_mem(const struct pandecode_mapped_memory *mem,
                 mem = pandecode_find_mapped_gpu_mem_containing(gpu_va);
 
         if (!mem) {
-                fprintf(stderr, "Access to unknown memory %" PRIx64 " in %s:%d",
+                fprintf(stderr, "Access to unknown memory %" PRIx64 " in %s:%d\n",
                         gpu_va, filename, line);
                 assert(0);
         }



More information about the mesa-commit mailing list