logind: set description for inhibitor event source

This commit is contained in:
Lennart Poettering
2019-08-08 07:40:37 +09:00
committed by Yu Watanabe
parent 0b1cd3e25a
commit 3884274b15
+2
View File
@@ -329,6 +329,8 @@ int inhibitor_create_fifo(Inhibitor *i) {
r = sd_event_source_set_priority(i->event_source, SD_EVENT_PRIORITY_IDLE-10);
if (r < 0)
return r;
(void) sd_event_source_set_description(i->event_source, "inhibitor-ref");
}
/* Open writing side */