diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-27 19:57:20 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-02-27 19:57:20 +0100 |
commit | 456d08dc834df5d980d6f95e9158b6b0673ebc2f (patch) | |
tree | 4588d15f9a5b09526157cf99b11feea832a7e30e /seatd/seat.c | |
parent | ff38ea595af7bdac330b44b01443742c015bf426 (diff) |
Convert a few debug logs to error logs
Diffstat (limited to 'seatd/seat.c')
-rw-r--r-- | seatd/seat.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |