diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2011-07-28 14:07:02 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2011-07-28 14:07:02 +0000 |
commit | ed764f9f37f2f3f0d2df007b1e5caba8220f1fda (patch) | |
tree | d8b328e7cbf5e902c09c1c180fc88752bcfb9a64 /sys/kern | |
parent | ebc7153ee71719104bef1d6b5d588fd3143e07a9 (diff) |
Kill integer from pointer warning when compiling with MALLOC_DEBUG.
ok kettenis
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_malloc_debug.c | 4 |
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 |