From: Todd C. Miller Date: Sun, 6 Feb 1994 00:19:45 +0000 (+0000) Subject: fixed a typo + indentation X-Git-Tag: SUDO_1_3_0~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=273de6003117ed0de229b750256bbcc08f7ee821;p=sudo fixed a typo + indentation --- diff --git a/sudo.c b/sudo.c index 305b1c08f..1b7064cd8 100644 --- a/sudo.c +++ b/sudo.c @@ -331,7 +331,7 @@ void be_root() * this function sets the effective uid to the value of uid */ -#ifdef _AIX */ +#ifdef _AIX void be_user() { if (setuidx(ID_EFFECTIVE|ID_REAL, uid)) { @@ -339,8 +339,8 @@ void be_user() exit(1); } } -#else -#ifdef HAS_SAVED_UID +#else /* _AIX */ +# ifdef HAS_SAVED_UID void be_user() { if (setreuid(uid, uid)) { @@ -348,7 +348,7 @@ void be_user() exit(1); } } -#else +# else /* HAS_SAVED_UID */ void be_user() { if (seteuid(uid)) { @@ -356,7 +356,7 @@ void be_user() exit(1); } } -#endif /* HAS_SAVED_UID */ +# endif /* HAS_SAVED_UID */ #endif /* _AIX */