summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-11-28 06:55:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-11-28 06:55:50 +0000
commit0989d8403530c360cd78d7b33626839aa410b70a (patch)
treea3927923492ae0bbe0c34e5aa98fd154cfb8a5fb /lib/libc/arch
parent85bba9afd00b157c464dd4a90b8a729798bc06fe (diff)
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/arch')
-rw-r--r--lib/libc/arch/i386/string/strcat.S4
-rw-r--r--lib/libc/arch/i386/string/strcpy.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/i386/string/strcat.S b/lib/libc/arch/i386/string/strcat.S
index fb8008e8035..b22bebbe424 100644
--- a/lib/libc/arch/i386/string/strcat.S
+++ b/lib/libc/arch/i386/string/strcat.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcat.S,v 1.9 2015/08/31 02:53:56 guenther Exp $ */
+/* $OpenBSD: strcat.S,v 1.10 2017/11/28 06:55:49 tb Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
@@ -9,7 +9,7 @@
#if defined(APIWARN)
#APP
.section .gnu.warning.strcat
- .ascii "warning: strcat() is almost always misused, please use strlcat()"
+ .ascii "strcat() is almost always misused, please use strlcat()"
#NO_APP
#endif
diff --git a/lib/libc/arch/i386/string/strcpy.S b/lib/libc/arch/i386/string/strcpy.S
index f72990f8f0e..72448dadc64 100644
--- a/lib/libc/arch/i386/string/strcpy.S
+++ b/lib/libc/arch/i386/string/strcpy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: strcpy.S,v 1.9 2015/08/31 02:53:56 guenther Exp $ */
+/* $OpenBSD: strcpy.S,v 1.10 2017/11/28 06:55:49 tb Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
@@ -9,7 +9,7 @@
#if defined(APIWARN)
#APP
.section .gnu.warning.strcpy
- .ascii "warning: strcpy() is almost always misused, please use strlcpy()"
+ .ascii "strcpy() is almost always misused, please use strlcpy()"
#NO_APP
#endif