From 2123407555a8a039a48a3bbe8fa9edbe43401803 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 28 Nov 2017 06:55:49 +0000 Subject: 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 --- src/lib/libc/string/strcpy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libc/string/strcpy.c') diff --git a/src/lib/libc/string/strcpy.c b/src/lib/libc/string/strcpy.c index 5a9001e431..290eefeabf 100644 --- a/src/lib/libc/string/strcpy.c +++ b/src/lib/libc/string/strcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcpy.c,v 1.9 2014/06/10 04:17:37 deraadt Exp $ */ +/* $OpenBSD: strcpy.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(strcpy, - "warning: strcpy() is almost always misused, please use strlcpy()"); + "strcpy() is almost always misused, please use strlcpy()"); #endif char * -- cgit v1.2.3-55-g6feb