summaryrefslogtreecommitdiff
path: root/uidswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'uidswap.c')
-rw-r--r--uidswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uidswap.c b/uidswap.c
index d3109de5a..86c61a4b0 100644
--- a/uidswap.c
+++ b/uidswap.c
@@ -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));