summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:50:24 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-05-23 22:50:24 +0000
commit24621ab4f59b4aa9b17c3b833311ce080972fb1c (patch)
tree7949c9c9575a6fe0419a89e11e0c007d68f6d3ca
parent6bd32fb036d801f1ee86841bd66c1732e78729d0 (diff)
useless endpwent
-rw-r--r--usr.sbin/authpf/authpf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 8f32986e30e..0e70a848628 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.90 2005/05/02 02:29:26 djm Exp $ */
+/* $OpenBSD: authpf.c,v 1.91 2005/05/23 22:50:23 henning Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -133,7 +133,6 @@ main(int argc, char *argv[])
uid = getuid();
pw = getpwuid(uid);
- endpwent();
if (pw == NULL) {
syslog(LOG_ERR, "cannot find user for uid %u", uid);
goto die;