summaryrefslogtreecommitdiffstats
path: root/usr.sbin/authpf
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-05-23 22:50:23 +0000
committerhenning <henning@openbsd.org>2005-05-23 22:50:23 +0000
commit4d20ea5a827cefde312729582d55715fbfd397e3 (patch)
tree38799109b3c88824fcce5472e9f2b7b120dd59cc /usr.sbin/authpf
parentone more endpwent (diff)
downloadwireguard-openbsd-4d20ea5a827cefde312729582d55715fbfd397e3.tar.xz
wireguard-openbsd-4d20ea5a827cefde312729582d55715fbfd397e3.zip
useless endpwent
Diffstat (limited to 'usr.sbin/authpf')
-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;