diff options
author | 2013-06-25 19:45:15 +0000 | |
---|---|---|
committer | 2013-06-25 19:45:15 +0000 | |
commit | 28d8689530c7481fef38b473f0554a19dbbff559 (patch) | |
tree | dd642dd1db4cf84424cbb7b05a6e472be57ee16b /sys/kern/kern_malloc_debug.c | |
parent | zap trailing whitespace; (diff) | |
download | wireguard-openbsd-28d8689530c7481fef38b473f0554a19dbbff559.tar.xz wireguard-openbsd-28d8689530c7481fef38b473f0554a19dbbff559.zip |
allow kernel to compile with MALLOC_DEBUG.
ok miod@
Diffstat (limited to 'sys/kern/kern_malloc_debug.c')
-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; |