turnip: Mark the vk_errorf helper as bring printflike.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7014>
This commit is contained in:
Eric Anholt 2020-10-05 14:22:40 -07:00 committed by Marge Bot
parent 01de452b5d
commit 80869f0bc3

View file

@ -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);