Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/netstat document non-literal format strings



details:   https://anonhg.NetBSD.org/src/rev/5f4bec31b096
branches:  trunk
changeset: 768420:5f4bec31b096
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 16 12:03:31 2011 +0000

description:
document non-literal format strings

diffstat:

 usr.bin/netstat/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4ff0c1c7925e -r 5f4bec31b096 usr.bin/netstat/Makefile
--- a/usr.bin/netstat/Makefile  Tue Aug 16 12:00:46 2011 +0000
+++ b/usr.bin/netstat/Makefile  Tue Aug 16 12:03:31 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.35 2011/05/26 12:56:33 joerg Exp $
+#      $NetBSD: Makefile,v 1.36 2011/08/16 12:03:31 christos Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/12/93
 
 .include <bsd.own.mk>
@@ -18,6 +18,8 @@
 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
 
 CWARNFLAGS.clang+=     -Wno-format
+COPTS.iso.c += -Wno-format-nonliteral
+COPTS.show.c += -Wno-format-nonliteral
 
 .PATH:  ${.CURDIR}/../../lib/libc/gen
 .PATH:  ${.CURDIR}/../../lib/libc/net



Home | Main Index | Thread Index | Old Index