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/string/strcat.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/string/strcat.c')
-rw-r--r-- | lib/libc/string/strcat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcat.c b/lib/libc/string/strcat.c index 646c9c20909..73da22f75da 100644 --- a/lib/libc/string/strcat.c +++ b/lib/libc/string/strcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcat.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */ +/* $OpenBSD: strcat.c,v 1.10 2017/11/28 06:55:49 tb Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -33,7 +33,7 @@ #if defined(APIWARN) __warn_references(strcat, - "warning: strcat() is almost always misused, please use strlcat()"); + "strcat() is almost always misused, please use strlcat()"); #endif char * |