diff options
-rw-r--r-- | libseat/backend/seatd.c | 2 | ||||
-rw-r--r-- | seatd/seat.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c index e4ce7c4..2dea3ca 100644 --- a/libseat/backend/seatd.c +++ b/libseat/backend/seatd.c @@ -585,7 +585,7 @@ static struct libseat *builtin_open_seat(struct libseat_seat_listener *listener, } if (geteuid() != 0) { - log_debug("Built-in seatd instance requires root privileges"); + log_error("Built-in seatd instance requires root privileges"); return NULL; } diff --git a/seatd/seat.c b/seatd/seat.c index 4def100..5ed83b5 100644 --- a/seatd/seat.c +++ b/seatd/seat.c @@ -276,7 +276,7 @@ struct seat_device *seat_open_device(struct client *client, const char *path) { switch (type) { case SEAT_DEVICE_TYPE_DRM: if (drm_set_master(fd) == -1) { - log_debugf("drm_set_master failed: %s", strerror(errno)); + log_errorf("could not make device fd drm master: %s", strerror(errno)); } break; case SEAT_DEVICE_TYPE_EVDEV: @@ -326,13 +326,13 @@ static int seat_deactivate_device(struct seat_device *seat_device) { switch (seat_device->type) { case SEAT_DEVICE_TYPE_DRM: if (drm_drop_master(seat_device->fd) == -1) { - log_debugf("drm_drop_master failed: %s", strerror(errno)); + log_errorf("could not revoke drm master on device fd: %s", strerror(errno)); return -1; } break; case SEAT_DEVICE_TYPE_EVDEV: if (evdev_revoke(seat_device->fd) == -1) { - log_debugf("evdev_revoke failed: %s", strerror(errno)); + log_errorf("could not revoke evdev on device fd: %s", strerror(errno)); return -1; } break; @@ -379,7 +379,7 @@ static int seat_activate_device(struct client *client, struct seat_device *seat_ switch (seat_device->type) { case SEAT_DEVICE_TYPE_DRM: if (drm_set_master(seat_device->fd) == -1) { - log_debugf("drmset_master failed: %s", strerror(errno)); + log_errorf("could not make device fd drm master: %s", strerror(errno)); } seat_device->active = true; break; |