From: Ian Romanick Date: Tue, 19 Nov 2019 03:53:57 +0000 (-0800) Subject: anv: Fix error message format string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9acf0739f1dd4211744d94ce3fb33b4e4ffc900;p=mesa.git anv: Fix error message format string See also 246261f0addf Reviewed-by: Eric Engestrom CID: 1455892 Fixes: 246261f0add ("anv: prepare the driver for delayed submissions") --- diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index 9180f908379..f58299b6760 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -1687,11 +1687,8 @@ anv_queue_execbuf_locked(struct anv_queue *queue, int ret = queue->device->no_hw ? 0 : anv_gem_execbuffer(queue->device, &execbuf.execbuf); - if (ret) { - result = anv_queue_set_lost(queue, - "execbuf2 failed: %s", - strerror(ret)); - } + if (ret) + result = anv_queue_set_lost(queue, "execbuf2 failed: %m"); struct drm_i915_gem_exec_object2 *objects = execbuf.objects; for (uint32_t k = 0; k < execbuf.bo_count; k++) {