summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/id.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-02-08 11:07:32 +0000
committerBrian Somers <brian@FreeBSD.org>1998-02-08 11:07:32 +0000
commit1afedc4b86ef8fce14253c88e15e2dc9f7d158f4 (patch)
tree397090fb0ced52503647ca1e59b51ff0815e1f87 /usr.sbin/ppp/id.c
parentaad81d1ecfec3906f8b4e6945d6967a82c391cd5 (diff)
downloadsrc-test2-1afedc4b86ef8fce14253c88e15e2dc9f7d158f4.tar.gz
src-test2-1afedc4b86ef8fce14253c88e15e2dc9f7d158f4.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/id.c')
-rw-r--r--usr.sbin/ppp/id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/id.c b/usr.sbin/ppp/id.c
index af412078e561..c030ccf6e2e6 100644
--- a/usr.sbin/ppp/id.c
+++ b/usr.sbin/ppp/id.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: id.c,v 1.5 1997/12/27 19:23:12 brian Exp $
+ * $Id: id.c,v 1.6 1998/01/21 02:15:16 brian Exp $
*/
#include <sys/types.h>
@@ -61,7 +61,7 @@ ID0setuser(void)
{
if (seteuid(uid) == -1) {
LogPrintf(LogERROR, "ID0setuser: Unable to seteuid!\n");
- Cleanup(EX_NOPERM);
+ AbortProgram(EX_NOPERM);
}
}
@@ -76,7 +76,7 @@ ID0set0(void)
{
if (seteuid(euid) == -1) {
LogPrintf(LogERROR, "ID0set0: Unable to seteuid!\n");
- Cleanup(EX_NOPERM);
+ AbortProgram(EX_NOPERM);
}
}