diff options
Diffstat (limited to 'src/display.c')
-rw-r--r-- | src/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |