From dd5240ff7a87e85bca15b294236220ac0576055f Mon Sep 17 00:00:00 2001 From: pk33 Date: Sat, 2 Nov 2024 08:49:22 +0100 Subject: touchup --- src/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display.c') diff --git a/src/display.c b/src/display.c index 69c7bb2..901a570 100644 --- a/src/display.c +++ b/src/display.c @@ -420,7 +420,7 @@ static Size _get_drm_resources( Size fd ) drmData.drmRes.encoder_id_ptr = (__u64)drmData.drmRes_encs; /* Second call writes drm resource data using the given pointers */ - if( ioctl( fd, (int)DRM_IOCTL_MODE_GETRESOURCES, &drmData.drmRes ) == -1 ) { + if( e33_ioctl( fd, (int)DRM_IOCTL_MODE_GETRESOURCES, &drmData.drmRes ) == -1 ) { logw( "Failed to get drm resources" ); return E33_EXIT_FAILURE; } -- cgit v1.2.3