diff options
author | 2005-03-25 22:22:30 +0000 | |
---|---|---|
committer | 2005-03-25 22:22:30 +0000 | |
commit | 6023d4743c10ae01eb6b78c348bf0aef270a425d (patch) | |
tree | 9c473b8faf274a1db3ea7aef2e3379896f89a267 /lib/libc | |
parent | put in some cdrom booting notes cloned from hp300 (diff) | |
download | wireguard-openbsd-6023d4743c10ae01eb6b78c348bf0aef270a425d.tar.xz wireguard-openbsd-6023d4743c10ae01eb6b78c348bf0aef270a425d.zip |
Change wording of APIWARNs to match arch-independent code.
ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/i386/string/strcat.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/i386/string/strcpy.S | 4 |
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 b70fceeb28a..96b8393608e 100644 --- a/lib/libc/arch/i386/string/strcat.S +++ b/lib/libc/arch/i386/string/strcat.S @@ -8,13 +8,13 @@ #if defined(APIWARN) #APP .section .gnu.warning.strcat - .ascii "warning: strcat() is almost always misused, consider using strlcat()" + .ascii "warning: strcat() is almost always misused, please use strlcat()" #NO_APP #endif #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: strcat.S,v 1.6 2005/03/25 21:43:37 kettenis Exp $" + .asciz "$OpenBSD: strcat.S,v 1.7 2005/03/25 22:22:30 kettenis Exp $" #endif /* diff --git a/lib/libc/arch/i386/string/strcpy.S b/lib/libc/arch/i386/string/strcpy.S index 5d4b72da15d..630aff72314 100644 --- a/lib/libc/arch/i386/string/strcpy.S +++ b/lib/libc/arch/i386/string/strcpy.S @@ -8,13 +8,13 @@ #if defined(APIWARN) #APP .section .gnu.warning.strcpy - .ascii "warning: strcpy() is almost always misused, consider using strlcpy()" + .ascii "warning: strcpy() is almost always misused, please use strlcpy()" #NO_APP #endif #if defined(LIBC_SCCS) .text - .asciz "$OpenBSD: strcpy.S,v 1.6 2005/03/25 21:43:37 kettenis Exp $" + .asciz "$OpenBSD: strcpy.S,v 1.7 2005/03/25 22:22:30 kettenis Exp $" #endif /* |