mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-05 09:17:44 +03:00
shared: fix typo
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user