diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c index 29500d94e..3e6d76655 100644 --- a/src/backends/native/meta-onscreen-native.c +++ b/src/backends/native/meta-onscreen-native.c @@ -1883,7 +1883,7 @@ create_surfaces_gbm (CoglOnscreen *onscreen, { g_set_error (error, COGL_WINSYS_ERROR, COGL_WINSYS_ERROR_CREATE_ONSCREEN, - "Failed to allocate surface"); + "Failed to allocate surface: %s", g_strerror (errno)); return FALSE; }