diff options
author | syl <syl@cvs.openbsd.org> | 2013-06-25 19:45:16 +0000 |
---|---|---|
committer | syl <syl@cvs.openbsd.org> | 2013-06-25 19:45:16 +0000 |
commit | 50ea38796143fdf71e72ed5ba7cca172b84aa274 (patch) | |
tree | 4e10e09c82e772a4f6a2665426f0a8d98a2e03d6 /sys/kern | |
parent | 6c7b912b564365fb397f6518fa0043de24eb5cd0 (diff) |
allow kernel to compile with MALLOC_DEBUG.
ok miod@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_malloc_debug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc_debug.c b/sys/kern/kern_malloc_debug.c index 0d4b7a0d186..0eb73573d9d 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.30 2013/02/17 17:39:29 miod Exp $ */ +/* $OpenBSD: kern_malloc_debug.c,v 1.31 2013/06/25 19:45:15 syl Exp $ */ /* * Copyright (c) 1999, 2000 Artur Grabowski <art@openbsd.org> @@ -301,7 +301,8 @@ debug_malloc_assert_allocated(void *addr, const char *func) void debug_malloc_printit( - int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */) + int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */, + vaddr_t addr) { struct debug_malloc_entry *md; |