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

Author: Eric Anholt <[email protected]>
Date:   Mon Oct  5 14:22:40 2020 -0700

turnip: Mark the vk_errorf helper as bring printflike.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7014>

---

 src/freedreno/vulkan/tu_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_private.h 
b/src/freedreno/vulkan/tu_private.h
index be3b75afa53..0fdedd51f2c 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -132,7 +132,7 @@ __vk_errorf(struct tu_instance *instance,
             const char *file,
             int line,
             const char *format,
-            ...);
+            ...) PRINTFLIKE(5, 6);
 
 #define vk_error(instance, error)                                            \
    __vk_errorf(instance, error, __FILE__, __LINE__, NULL);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to