From 8252f71447c95978bf0285f5dd77d33fdcf7131b Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Mon, 8 Jan 2024 16:40:19 +0800 Subject: [PATCH] onscreen/native: Replace an old strerror with g_strerror For consistency with the previous commit. Part-of: --- src/backends/native/meta-onscreen-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c index 3e6d76655..e315a9b5f 100644 --- a/src/backends/native/meta-onscreen-native.c +++ b/src/backends/native/meta-onscreen-native.c @@ -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; }