diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c index 0f799c14fd8..3112af4be60 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -137,7 +137,7 @@ loader_open_render_node(const char *name) (device->bustype == DRM_BUS_PLATFORM)) { drmVersionPtr version; - fd = open(device->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); + fd = loader_open_device(device->nodes[DRM_NODE_RENDER]); if (fd < 0) continue; |