Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/time document non-literal string format



details:   https://anonhg.NetBSD.org/src/rev/a08c6870ddca
branches:  trunk
changeset: 768481:a08c6870ddca
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 17 13:29:39 2011 +0000

description:
document non-literal string format

diffstat:

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

diffs (18 lines):

diff -r 24a8cf5f7d3d -r a08c6870ddca usr.bin/time/Makefile
--- a/usr.bin/time/Makefile     Wed Aug 17 13:26:49 2011 +0000
+++ b/usr.bin/time/Makefile     Wed Aug 17 13:29:39 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2009/04/14 22:15:27 lukem Exp $
+#      $NetBSD: Makefile,v 1.8 2011/08/17 13:29:39 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
 .include <bsd.own.mk>
@@ -8,6 +8,8 @@
 SRCS=  time.c strpct.c xtime.c
 PROG=  time
 
+COPTS.strpct.c += -Wno-format-nonliteral
+
 .PATH: ${NETBSDSRCDIR}/bin/csh
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index