summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-01-22 12:00:41 +0000
committeraaron <aaron@openbsd.org>2000-01-22 12:00:41 +0000
commitc64650b00ddf46d4b1440ef8b547284b1121d06b (patch)
treed78cbb93b4b557526d761671cb72d0b49a0d015c /lib/libc/stdio
parentchanges to GENERIC must be matched in GENERIC_SCSI3 (diff)
downloadwireguard-openbsd-c64650b00ddf46d4b1440ef8b547284b1121d06b.tar.xz
wireguard-openbsd-c64650b00ddf46d4b1440ef8b547284b1121d06b.zip
Use .Va macro when referring to the global variable errno.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/mktemp.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index ef5cb76bacc..a187a42572d 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.18 1999/09/14 06:21:23 pjanzen Exp $
+.\" $OpenBSD: mktemp.3,v 1.19 2000/01/22 12:00:42 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -290,8 +290,10 @@ using the flags
.Dv O_EXCL ,
is better, as long as the code retries a new template if
.Xr open 2
-fails with an errno of
-.Dv EEXIST .
+fails with an
+.Va errno
+of
+.Er EEXIST .
.Sh SEE ALSO
.Xr chmod 2 ,
.Xr getpid 2 ,