summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-09-17 20:10:44 +0200
committerTom Gundersen <teg@jklm.no>2014-09-17 22:41:05 +0200
commit2b2332856bafe25c4aa17db2a90bdcddef1fec1a (patch)
tree2ea8f0125f458b5eb3e192dcbb689c29418a8807
parent83e341a637b75f7f592a5dc717c34d8b67ed4ffa (diff)
logind: fix typo
-rw-r--r--src/login/logind-session-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c
index 7d81500426..58836fce25 100644
--- a/src/login/logind-session-dbus.c
+++ b/src/login/logind-session-dbus.c
@@ -249,7 +249,7 @@ static int method_set_idle_hint(sd_bus *bus, sd_bus_message *message, void *user
return r;
if (uid != 0 && uid != s->user->uid)
- return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session my set idle hint");
+ return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may set idle hint");
session_set_idle_hint(s, b);