weston-launch: Fix a typo causing mutter-launch to not work

This commit is contained in:
Jasper St. Pierre 2014-03-14 16:04:56 -04:00
parent c539dfe0d7
commit 93ac0329db

View File

@ -279,7 +279,7 @@ handle_open(struct weston_launch *wl, struct msghdr *msg, ssize_t len)
dev_major = major(s.st_rdev);
if (dev_major != INPUT_MAJOR ||
if (dev_major != INPUT_MAJOR &&
dev_major != DRM_MAJOR) {
fprintf(stderr, "Device %s is not an input or DRM device\n",
message->path);