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/strcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libc/string/strcat.c') diff --git a/src/lib/libc/string/strcat.c b/src/lib/libc/string/strcat.c index 646c9c2090..73da22f75d 100644 --- a/src/lib/libc/string/strcat.c +++ b/src/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 * -- cgit v1.2.3-55-g6feb