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

This commit is contained in:
Lennart Poettering
2019-07-23 16:08:07 +02:00
parent 11eae36d29
commit 9f18eda8ff
+1 -1
View File
@@ -29,7 +29,7 @@ struct Inhibitor {
sd_event_source *event_source;
char *id;
const char *id;
char *state_file;
bool started;