aboutsummaryrefslogtreecommitdiff
path: root/backend/session
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-28 23:15:34 +0100
committeremersion <contact@emersion.fr>2019-03-01 09:20:23 +0100
commit5445d8aad0112dab3ed798c39bf6b22f2a4eebd1 (patch)
treecddeb6dd5665e81d815fe51650fb8bb69b88f3dd /backend/session
parent4135fafecd5c9a8daafb0caec96089cfa0926c6e (diff)
meson: enable more compiler warnings
Diffstat (limited to 'backend/session')
-rw-r--r--backend/session/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c
index 0bacfbcd..8f4e328d 100644
--- a/backend/session/logind.c
+++ b/backend/session/logind.c
@@ -440,7 +440,7 @@ static bool add_signal_matches(struct logind_session *session) {
int ret;
char str[256];
- const char *fmt = "type='signal',"
+ const char fmt[] = "type='signal',"
"sender='org.freedesktop.login1',"
"interface='org.freedesktop.login1.%s',"
"member='%s',"