From cbb79c448d989a0aee9de90d619435c2bd396104 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 8 Dec 2017 23:57:57 +0000 Subject: [PATCH] don't ifdef _KERNEL --- sys/lib/libkern/hexdump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/lib/libkern/hexdump.c b/sys/lib/libkern/hexdump.c index 60231faca67b..e29e87775d7e 100644 --- a/sys/lib/libkern/hexdump.c +++ b/sys/lib/libkern/hexdump.c @@ -27,9 +27,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: hexdump.c,v 1.2 2017/12/08 23:49:01 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hexdump.c,v 1.3 2017/12/08 23:57:57 christos Exp $"); -#ifndef _KERNEL +#ifdef DEBUG_HEXDUMP #include #include #include @@ -83,7 +83,7 @@ hexdump(const char *msg, const void *ptr, size_t len) } } -#ifndef _KERNEL +#ifdef DEBUG_HEXDUMP int main(int argc, char *argv[]) {