diff options
author | 2017-11-28 06:55:49 +0000 | |
---|---|---|
committer | 2017-11-28 06:55:49 +0000 | |
commit | e34cb67ca6a03d6ed8f381b6dd30bd8428efd463 (patch) | |
tree | 0541aa34ee10ea60f48c1e3edaf15b1624099e7d /lib/libc/stdio/tmpnam.c | |
parent | document that the 'e' command is non-portable; from kshe; ok jmc@ (diff) | |
download | wireguard-openbsd-e34cb67ca6a03d6ed8f381b6dd30bd8428efd463.tar.xz wireguard-openbsd-e34cb67ca6a03d6ed8f381b6dd30bd8428efd463.zip |
GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections
with "warning: " since 2003, so the messages themselves need not
contain the prefix anymore.
From Scott Cheloha
ok jca, deraadt
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
-rw-r--r-- | lib/libc/stdio/tmpnam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/tmpnam.c b/lib/libc/stdio/tmpnam.c index d6dc10eec03..52cd43d947b 100644 --- a/lib/libc/stdio/tmpnam.c +++ b/lib/libc/stdio/tmpnam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpnam.c,v 1.11 2015/08/31 02:53:57 guenther Exp $ */ +/* $OpenBSD: tmpnam.c,v 1.12 2017/11/28 06:55:49 tb Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ #include <unistd.h> __warn_references(tmpnam, - "warning: tmpnam() possibly used unsafely; consider using mkstemp()"); + "tmpnam() possibly used unsafely; consider using mkstemp()"); char * tmpnam(char *s) |