diff options
Diffstat (limited to 'src/cam/drm.cpp')
-rw-r--r-- | src/cam/drm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/drm.cpp b/src/cam/drm.cpp index 46e34eb5..42c5a3b1 100644 --- a/src/cam/drm.cpp +++ b/src/cam/drm.cpp @@ -432,8 +432,8 @@ int Device::init() if (ret < 0) return ret; - EventLoop::instance()->addEvent(fd_, EventLoop::Read, - std::bind(&Device::drmEvent, this)); + EventLoop::instance()->addFdEvent(fd_, EventLoop::Read, + std::bind(&Device::drmEvent, this)); return 0; } |