Minor warning/error message cleanup

This commit is contained in:
Todd C. Miller
2011-05-18 13:04:24 -04:00
parent fce0b906eb
commit 7960bde2db
8 changed files with 36 additions and 31 deletions

View File

@@ -105,7 +105,7 @@ sudo_edit(struct command_details *command_details)
* We will change the euid as needed below.
*/
if (setuid(ROOT_UID) != 0) {
warning(_("unable to change to uid to root (%u)"), ROOT_UID);
warning(_("unable to change uid to root (%u)"), ROOT_UID);
return 1;
}