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 restore address length before pri...
details: https://anonhg.NetBSD.org/src/rev/3759663f581c
branches: trunk
changeset: 338646:3759663f581c
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 02 20:52:00 2015 +0000
description:
restore address length before printing.
diffstat:
external/bsd/blacklist/bin/conf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 74c3bf1780bd -r 3759663f581c external/bsd/blacklist/bin/conf.c
--- a/external/bsd/blacklist/bin/conf.c Tue Jun 02 15:36:45 2015 +0000
+++ b/external/bsd/blacklist/bin/conf.c Tue Jun 02 20:52:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.21 2015/06/02 14:02:10 christos Exp $ */
+/* $NetBSD: conf.c,v 1.22 2015/06/02 20:52:00 christos Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: conf.c,v 1.21 2015/06/02 14:02:10 christos Exp $");
+__RCSID("$NetBSD: conf.c,v 1.22 2015/06/02 20:52:00 christos Exp $");
#include <stdio.h>
#include <string.h>
@@ -488,6 +488,7 @@
out:
if (debug > 1) {
char b1[256], b2[256];
+ len <<= 2;
hexdump(b1, sizeof(b1), "a1", v1, len);
hexdump(b2, sizeof(b2), "a1", v2, len);
(*lfun)(LOG_DEBUG, "%s: %s != %s [0x%x]", __func__,
Home |
Main Index |
Thread Index |
Old Index