logind: make id const, since it points into another buffer

This commit is contained in:
Lennart Poettering
2019-07-23 12:40:52 +02:00
parent 11eae36d29
commit 9f18eda8ff

View File

@@ -29,7 +29,7 @@ struct Inhibitor {
sd_event_source *event_source;
char *id;
const char *id;
char *state_file;
bool started;