Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/openpam/dist/lib Ignore non-literal format stri...



details:   https://anonhg.NetBSD.org/src/rev/668e3805e0f8
branches:  trunk
changeset: 325810:668e3805e0f8
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jan 07 02:15:02 2014 +0000

description:
Ignore non-literal format strings, the modifications can't be expressed
with the current framework.

diffstat:

 external/bsd/openpam/dist/lib/openpam_log.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ffdb2ba7d54f -r 668e3805e0f8 external/bsd/openpam/dist/lib/openpam_log.c
--- a/external/bsd/openpam/dist/lib/openpam_log.c       Tue Jan 07 02:14:02 2014 +0000
+++ b/external/bsd/openpam/dist/lib/openpam_log.c       Tue Jan 07 02:15:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpam_log.c,v 1.5 2013/12/27 20:10:21 christos Exp $ */
+/*     $NetBSD: openpam_log.c,v 1.6 2014/01/07 02:15:02 joerg Exp $    */
 
 /*-
  * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -96,6 +96,7 @@
 
 #else
 
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
 void
 _openpam_log(int level, const char *func, const char *fmt, ...)
 {



Home | Main Index | Thread Index | Old Index