From: mouring Date: Tue, 30 Jul 2002 19:32:07 +0000 (+0000) Subject: - (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de X-Git-Tag: V_3_5_P1~88 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/13979d4722dd204ec4b4bb22483e54384d2e81f5 - (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de --- diff --git a/ChangeLog b/ChangeLog index f3ee4990..3c4a6292 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20020730 + - (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de + 20020728 - (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar - (stevesk) [CREDITS] solar diff --git a/uidswap.c b/uidswap.c index d3109de5..86c61a4b 100644 --- a/uidswap.c +++ b/uidswap.c @@ -114,8 +114,8 @@ restore_uid(void) if (!temporarily_use_uid_effective) fatal("restore_uid: temporarily_use_uid not effective"); - debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); #ifdef SAVED_IDS_WORK_WITH_SETEUID + debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); /* Set the effective uid back to the saved privileged uid. */ if (seteuid(saved_euid) < 0) fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno));