onscreen/native: Replace an old strerror with g_strerror

For consistency with the previous commit.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3418>
This commit is contained in:
Daniel van Vugt 2024-01-08 16:40:19 +08:00 committed by Marge Bot
parent ee3968981f
commit 8252f71447

View File

@ -2125,7 +2125,7 @@ init_secondary_gpu_state_gpu_copy_mode (MetaRendererNative *renderer_nat
if (!gbm_surface)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"Failed to create gbm_surface: %s", strerror (errno));
"Failed to create gbm_surface: %s", g_strerror (errno));
return FALSE;
}