summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornaddy <>2014-07-09 17:08:21 +0000
committernaddy <>2014-07-09 17:08:21 +0000
commit0cde13e6bb18b53482ef9ca24c8f1bca25a4daa3 (patch)
tree030b7de00926aa870ac734322c6bf3c2f7add2a3 /src
parent6bd740d00a7a8c72fcdff64eae6ee0fa2e8a812b (diff)
downloadopenbsd-0cde13e6bb18b53482ef9ca24c8f1bca25a4daa3.tar.gz
openbsd-0cde13e6bb18b53482ef9ca24c8f1bca25a4daa3.tar.bz2
openbsd-0cde13e6bb18b53482ef9ca24c8f1bca25a4daa3.zip
rephrase the stpcpy() warning
new wording agreed by at least kettenis@ millert@ otto@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/string/stpcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/stpcpy.c b/src/lib/libc/string/stpcpy.c
index d3d61e0f14..d88afac345 100644
--- a/src/lib/libc/string/stpcpy.c
+++ b/src/lib/libc/string/stpcpy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: stpcpy.c,v 1.1 2012/01/17 02:48:01 guenther Exp $ */ 1/* $OpenBSD: stpcpy.c,v 1.2 2014/07/09 17:08:21 naddy Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1988 Regents of the University of California. 4 * Copyright (c) 1988 Regents of the University of California.
@@ -33,7 +33,7 @@
33 33
34#if defined(APIWARN) 34#if defined(APIWARN)
35__warn_references(stpcpy, 35__warn_references(stpcpy,
36 "warning: stpcpy() is dangerous GNU crap; don't use it"); 36 "warning: stpcpy() is dangerous; do not use it");
37#endif 37#endif
38 38
39char * 39char *