Skip to content

anv: fix error message

Eric Engestrom requested to merge eric/mesa:anv-errno-fix into master

strerror() takes an errno, not the negative value returned by the ioctl().
Instead of fixing this as "%s", strerror(errno), let's just use the "%m" shortcut for it.

Fixes: 2b5f30b1 ("anv: implement VK_INTEL_performance_query")
/cc @llandwerlin

Merge request reports