summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/mktemp.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
commit0af7dd8231bef67e47c220a7bacf8f1eedabba47 (patch)
treeebee5d9abfa6081337b2c756b2b394aea04b85ae /lib/libc/stdio/mktemp.3
parent987ea750df0c9c8c98007c079bbbb7a7092e3989 (diff)
Use .Va macro when referring to the global variable errno.
Diffstat (limited to 'lib/libc/stdio/mktemp.3')
-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 ,