summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-03-30 07:33:57 +0000
committerotto <otto@openbsd.org>2005-03-30 07:33:57 +0000
commite332ef03207fe2540a34801ef1d39331f6fcc5aa (patch)
treea20e7802f68876385a8efbf16d3d685d662cfde9 /lib/libc
parentnlist.h not needed (diff)
downloadwireguard-openbsd-e332ef03207fe2540a34801ef1d39331f6fcc5aa.tar.xz
wireguard-openbsd-e332ef03207fe2540a34801ef1d39331f6fcc5aa.zip
Do not promise anything about the contents of resolved on failure.
ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/realpath.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3
index c178f0a9d34..4fc04907acd 100644
--- a/lib/libc/stdlib/realpath.3
+++ b/lib/libc/stdlib/realpath.3
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: realpath.3,v 1.11 2005/03/29 19:34:14 brad Exp $
+.\" $OpenBSD: realpath.3,v 1.12 2005/03/30 07:33:57 otto Exp $
.\"
.Dd February 16, 1994
.Dt REALPATH 3
@@ -81,10 +81,10 @@ on success.
If an error occurs,
.Fn realpath
returns
-.Dv NULL ,
-and
+.Dv NULL
+and the contents of
.Fa resolved
-contains the pathname which caused the problem.
+are undefined.
.Sh ERRORS
The function
.Fn realpath