anv: fix error message
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 24 Oct 2019 12:04:51 +0000 (13:04 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 24 Oct 2019 13:57:40 +0000 (13:57 +0000)
commit47571a01ecdce093dacde52a22f156759df3ebf8
treec72b110b39a6060ca63aa2006f5d47f8b441dab2
parent8d43e2b2ded0fe3c82d49561cdab9f208f9e64b6
anv: fix error message

`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: 2b5f30b1d91b98ab27ba ("anv: implement VK_INTEL_performance_query")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_perf.c