summaryrefslogtreecommitdiff
path: root/uidswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'uidswap.c')
-rw-r--r--uidswap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/uidswap.c b/uidswap.c
index 3b264cf9e..941d6f195 100644
--- a/uidswap.c
+++ b/uidswap.c
@@ -117,8 +117,7 @@ restore_uid(void)
117#ifdef SAVED_IDS_WORK_WITH_SETEUID 117#ifdef SAVED_IDS_WORK_WITH_SETEUID
118 /* Set the effective uid back to the saved privileged uid. */ 118 /* Set the effective uid back to the saved privileged uid. */
119 if (seteuid(saved_euid) < 0) 119 if (seteuid(saved_euid) < 0)
120 fatal("seteuid %u: %.100s", (u_int) saved_euid, 120 fatal("seteuid %u: %.100s", (u_int) saved_euid, strerror(errno));
121 strerror(errno));
122 if (setegid(saved_egid) < 0) 121 if (setegid(saved_egid) < 0)
123 fatal("setegid %u: %.100s", (u_int) saved_egid, 122 fatal("setegid %u: %.100s", (u_int) saved_egid,
124 strerror(errno)); 123 strerror(errno));