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