diff options
Diffstat (limited to 'src/udev-seat.c')
-rw-r--r-- | src/udev-seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev-seat.c b/src/udev-seat.c index 4c051c9b..4ef7ff33 100644 --- a/src/udev-seat.c +++ b/src/udev-seat.c @@ -75,7 +75,7 @@ device_added(struct udev_device *udev_device, struct udev_input *input) /* Use non-blocking mode so that we can loop on read on * evdev_device_data() until all events on the fd are * read. mtdev_get() also expects this. */ - fd = weston_launcher_open(c, devnode, O_RDWR | O_NONBLOCK); + fd = weston_launcher_open(c->launcher, devnode, O_RDWR | O_NONBLOCK); if (fd < 0) { weston_log("opening input device '%s' failed.\n", devnode); return 0; |