anv: fix minor gen_ioctl(I915_PERF_IOCTL_CONFIG) error handling issue

Found by Coverity.

Fixes: 2001a80d4a ("anv: Implement VK_KHR_performance_query")
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>
This commit is contained in:
Marcin Ślusarz 2020-09-09 17:59:41 +02:00 committed by Marge Bot
parent 265a3b9624
commit d3cd24999f
1 changed files with 1 additions and 1 deletions

View File

@ -1821,7 +1821,7 @@ anv_queue_execbuf_locked(struct anv_queue *queue,
if (ret < 0) {
result = anv_device_set_lost(device,
"i915-perf config failed: %s",
strerror(ret));
strerror(errno));
}
}