From 7d0f8c792d440d60bab15b35d71dc7706a2a66f6 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 2 Jun 2015 20:52:00 +0000 Subject: [PATCH] restore address length before printing. --- external/bsd/blacklist/bin/conf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/external/bsd/blacklist/bin/conf.c b/external/bsd/blacklist/bin/conf.c index e1d1bd6a4676..7018434e1ed2 100644 --- a/external/bsd/blacklist/bin/conf.c +++ b/external/bsd/blacklist/bin/conf.c @@ -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 -__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 #include @@ -488,6 +488,7 @@ conf_amask_eq(const void *v1, const void *v2, size_t len, int mask) 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__,