diff options
| author | christos <christos@NetBSD.org> | 2017-12-08 23:57:57 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-12-08 23:57:57 +0000 |
| commit | 468ea4c9ce0d7c1c04bbf2f9f37e22e416cd8437 (patch) | |
| tree | 3bc36ab48795ff916febf22df602fb490b2b148f /sys/lib | |
| parent | a2bfa0df3808c3963e0337d8782bfb0cf47bf321 (diff) | |
don't ifdef _KERNEL
Diffstat (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libkern/hexdump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/hexdump.c b/sys/lib/libkern/hexdump.c index 60231faca67..e29e87775d7 100644 --- a/sys/lib/libkern/hexdump.c +++ b/sys/lib/libkern/hexdump.c @@ -27,9 +27,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__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 <stdio.h> #include <ctype.h> #include <string.h> @@ -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[]) { |
