diff options
Diffstat (limited to 'uidswap.c')
-rw-r--r-- | uidswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,8 +114,8 @@ restore_uid(void) | |||
114 | if (!temporarily_use_uid_effective) | 114 | if (!temporarily_use_uid_effective) |
115 | fatal("restore_uid: temporarily_use_uid not effective"); | 115 | fatal("restore_uid: temporarily_use_uid not effective"); |
116 | 116 | ||
117 | debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); | ||
118 | #ifdef SAVED_IDS_WORK_WITH_SETEUID | 117 | #ifdef SAVED_IDS_WORK_WITH_SETEUID |
118 | debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); | ||
119 | /* Set the effective uid back to the saved privileged uid. */ | 119 | /* Set the effective uid back to the saved privileged uid. */ |
120 | if (seteuid(saved_euid) < 0) | 120 | if (seteuid(saved_euid) < 0) |
121 | fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); | 121 | fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); |