Skip to content

intel: Convert use of printf("%m") to printf("%s") with strerror

nia requested to merge nia/mesa:intel-strerror into main

%m is a non-portable extension and has a different meaning on some platforms, resulting in an error due to Meson's use of -Werror=format. Using %s with strerror(errno) is a portable equivalent.

This is a build fix for NetBSD and possibly other platforms.

Merge request reports

Loading