summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-02-17 03:00:57 +0000
committerderaadt <deraadt@openbsd.org>1997-02-17 03:00:57 +0000
commit28e7c794726ea955e3cd7a1037904e7da4d59a9b (patch)
tree3e5763822088e56338572c19467a55f3eb99f9ec /lib/libutil
parentdo not leak descriptors and mem (diff)
downloadwireguard-openbsd-28e7c794726ea955e3cd7a1037904e7da4d59a9b.tar.xz
wireguard-openbsd-28e7c794726ea955e3cd7a1037904e7da4d59a9b.zip
some cleanup
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/pw_getconf.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libutil/pw_getconf.3 b/lib/libutil/pw_getconf.3
index f23ab42e485..671ad8e01d7 100644
--- a/lib/libutil/pw_getconf.3
+++ b/lib/libutil/pw_getconf.3
@@ -39,8 +39,9 @@
.Sh DESCRIPTION
The
.Fn pw_getconf
-function access the passwd.conf file and retrieves the value of the
-option specified
+function reads
+.Pa /etc/passwd.conf
+and retrieves the value of the option specified
by
.Pa option
from the section given be
@@ -49,7 +50,7 @@ If no suitable entry is found
for the
.Pa key
a default value or an empty string will be returned in data.
-An empty string gets also returned on error.
+An empty string is also returned for other errors.
.Sh FILES
.Bl -tag -width /etc/passwd.conf -compact
.It Pa /etc/passwd.conf