From 18d2b5d399a6ee97c65a058c14054fd2da2b891a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 30 Jul 2002 19:32:07 +0000 Subject: [PATCH] - (bal) [uidswap.c] SCO compile correction by gert@greenie.muc.de --- ChangeLog | 5 ++++- uidswap.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfaa29d89..d53270d4e 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 @@ -1462,4 +1465,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2408 2002/07/28 20:42:23 stevesk Exp $ +$Id: ChangeLog,v 1.2409 2002/07/30 19:32:07 mouring Exp $ 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) 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));