summaryrefslogtreecommitdiff
path: root/src/login/logind-session-dbus.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2014-11-20 15:28:12 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2014-11-20 15:28:12 +0100
commit5eef597e931b0428bb984dc2bf0736d032a9198c (patch)
treec24d24d36d083e227a6ba3c1b5ae5c40ae822cb2 /src/login/logind-session-dbus.c
parente842803ae5f3f162fa51f30787c3b2423e3826cf (diff)
downloadsystemd-5eef597e931b0428bb984dc2bf0736d032a9198c.tar.gz
Imported Upstream version 217
Diffstat (limited to 'src/login/logind-session-dbus.c')
-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);