summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/tmpnam.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index 569dc8ea27f..2c501aebe2c 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmpnam.3,v 1.3 1998/03/12 20:03:54 deraadt Exp $
+.\" $OpenBSD: tmpnam.3,v 1.4 1998/03/12 20:17:42 deraadt Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -211,7 +211,7 @@ interface).
First, there is an obvious race between file name selection and file
creation and deletion: the program is typically written to call
.Fn tmpnam Ns ,
-.Fn tmpnam Ns , or
+.Fn tmpname Ns , or
.Xr mktemp 3 .
Subsequently, the program calls
.Xr open 2