mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
shared: fix typo
This commit is contained in:
committed by
Tom Gundersen
parent
17c6bd5222
commit
d3774a1b15
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user