mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
Fix typo in setreuid() PERM_ROOT error message.
This commit is contained in:
parent
d8f94bdfdd
commit
d75e5f6fef
@ -891,7 +891,7 @@ set_perms(int perm)
|
||||
if (ostate->euid != ROOT_UID) {
|
||||
if (setreuid(-1, ROOT_UID)) {
|
||||
snprintf(errbuf, sizeof(errbuf),
|
||||
"PERM_ROOT: setreuid(-1, %d)", PERM_ROOT);
|
||||
"PERM_ROOT: setreuid(-1, %d)", ROOT_UID);
|
||||
goto bad;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user