Browse Source

rephrase the stpcpy() warning

new wording agreed by at least kettenis@ millert@ otto@
OPENBSD_5_6
naddy 10 years ago
parent
commit
33c9c303eb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/string/stpcpy.c

+ 2
- 2
src/lib/libc/string/stpcpy.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: stpcpy.c,v 1.1 2012/01/17 02:48:01 guenther Exp $ */
/* $OpenBSD: stpcpy.c,v 1.2 2014/07/09 17:08:21 naddy Exp $ */
/* /*
* Copyright (c) 1988 Regents of the University of California. * Copyright (c) 1988 Regents of the University of California.
@ -33,7 +33,7 @@
#if defined(APIWARN) #if defined(APIWARN)
__warn_references(stpcpy, __warn_references(stpcpy,
"warning: stpcpy() is dangerous GNU crap; don't use it");
"warning: stpcpy() is dangerous; do not use it");
#endif #endif
char * char *


Loading…
Cancel
Save