summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-23 12:40:52 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-23 16:08:07 +0200
commit9f18eda8ffa5d60176f0cb9251dc85e708bedd0d (patch)
tree97f3cf855c00ba404644463586622abfa1b78b20 /src
parent11eae36d297a7b8767abd66b53021b47ff18b4ec (diff)
downloadsystemd-9f18eda8ffa5d60176f0cb9251dc85e708bedd0d.tar.gz
systemd-9f18eda8ffa5d60176f0cb9251dc85e708bedd0d.tar.bz2
systemd-9f18eda8ffa5d60176f0cb9251dc85e708bedd0d.zip
logind: make id const, since it points into another buffer
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-inhibit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-inhibit.h b/src/login/logind-inhibit.h
index c00578a86e..cea67a08c5 100644
--- a/src/login/logind-inhibit.h
+++ b/src/login/logind-inhibit.h
@@ -29,7 +29,7 @@ struct Inhibitor {
sd_event_source *event_source;
- char *id;
+ const char *id;
char *state_file;
bool started;