summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc_debug.c
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2011-07-28 14:07:01 +0000
committermcbride <mcbride@openbsd.org>2011-07-28 14:07:01 +0000
commit95dce81ed4c739778eeeb666eb2bf74782f0996f (patch)
treef13f5a1e9715eacd6e7519ab880098d0177360de /sys/kern/kern_malloc_debug.c
parenttweak previous; (diff)
downloadwireguard-openbsd-95dce81ed4c739778eeeb666eb2bf74782f0996f.tar.xz
wireguard-openbsd-95dce81ed4c739778eeeb666eb2bf74782f0996f.zip
Kill integer from pointer warning when compiling with MALLOC_DEBUG.
ok kettenis
Diffstat (limited to 'sys/kern/kern_malloc_debug.c')
-rw-r--r--sys/kern/kern_malloc_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc_debug.c b/sys/kern/kern_malloc_debug.c
index 014296db10e..68ee1e0bdf7 100644
--- a/sys/kern/kern_malloc_debug.c
+++ b/sys/kern/kern_malloc_debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc_debug.c,v 1.27 2009/04/24 08:13:24 jsg Exp $ */
+/* $OpenBSD: kern_malloc_debug.c,v 1.28 2011/07/28 14:07:01 mcbride Exp $ */
/*
* Copyright (c) 1999, 2000 Artur Grabowski <art@openbsd.org>
@@ -278,7 +278,7 @@ void
debug_malloc_print(void)
{
- debug_malloc_printit(printf, NULL);
+ debug_malloc_printit(printf, 0);
}
void