summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-10-16 23:22:06 +0200
committerTom Gundersen <teg@jklm.no>2014-10-31 10:57:21 +0100
commitd3774a1b15ea86f6156269e7ed813830f0c4abb8 (patch)
tree2fa3023567e5a5442e9d6d1ba1c0516d8a7e2c30 /src/shared
parent17c6bd5222c7d05cd4f577ac131a448307605b00 (diff)
shared: fix typo
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/capability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/capability.c b/src/shared/capability.c
index d2b901337f..0226542c6c 100644
--- a/src/shared/capability.c
+++ b/src/shared/capability.c
@@ -228,7 +228,7 @@ int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities) {
* which we want to avoid. */
if (setresgid(gid, gid, gid) < 0) {
- log_error("Failed change group ID: %m");
+ log_error("Failed to change group ID: %m");
return -errno;
}
@@ -244,7 +244,7 @@ int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities) {
r = setresuid(uid, uid, uid);
if (r < 0) {
- log_error("Failed change user ID: %m");
+ log_error("Failed to change user ID: %m");
return -errno;
}