diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:42:04 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:42:04 +0000 |
commit | ca8943e6deefa16a3fc5c4d3b93d13b23d9dfc59 (patch) | |
tree | 9abb4939dbe74c8b29e35bc5ef25836a23140c17 /uidswap.c | |
parent | abff1dd050ef0a275a67718b80bfae235f0264eb (diff) |
- (bal) Corrected debug() in uidswap.c to match upstream.
Diffstat (limited to 'uidswap.c')
-rw-r--r-- | uidswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ void | |||
145 | permanently_set_uid(struct passwd *pw) | 145 | permanently_set_uid(struct passwd *pw) |
146 | { | 146 | { |
147 | if (temporarily_use_uid_effective) | 147 | if (temporarily_use_uid_effective) |
148 | fatal("restore_uid: temporarily_use_uid effective"); | 148 | fatal("permanently_set_uid: temporarily_use_uid effective"); |
149 | if (setgid(pw->pw_gid) < 0) | 149 | if (setgid(pw->pw_gid) < 0) |
150 | fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno)); | 150 | fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno)); |
151 | if (setuid(pw->pw_uid) < 0) | 151 | if (setuid(pw->pw_uid) < 0) |