Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/blacklist/bin print the key in human readable f...



details:   https://anonhg.NetBSD.org/src/rev/99a1ba4180b3
branches:  trunk
changeset: 338499:99a1ba4180b3
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 27 22:37:37 2015 +0000

description:
print the key in human readable form when debugging.

diffstat:

 external/bsd/blacklist/bin/state.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 514306ab8769 -r 99a1ba4180b3 external/bsd/blacklist/bin/state.c
--- a/external/bsd/blacklist/bin/state.c        Wed May 27 22:37:13 2015 +0000
+++ b/external/bsd/blacklist/bin/state.c        Wed May 27 22:37:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: state.c,v 1.15 2015/01/27 19:40:37 christos Exp $      */
+/*     $NetBSD: state.c,v 1.16 2015/05/27 22:37:37 christos Exp $      */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: state.c,v 1.15 2015/01/27 19:40:37 christos Exp $");
+__RCSID("$NetBSD: state.c,v 1.16 2015/05/27 22:37:37 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -115,6 +115,9 @@
                        z = sizeof(buf);
        }
        (*lfun)(LOG_DEBUG, "%s", buf);
+       (*lfun)(LOG_DEBUG, "%s: %s", __func__,
+           conf_print(buf, sizeof(buf), "", "", k));
+
 }
 
 int



Home | Main Index | Thread Index | Old Index