summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc_debug.c
diff options
context:
space:
mode:
authorsyl <syl@openbsd.org>2013-08-08 23:25:06 +0000
committersyl <syl@openbsd.org>2013-08-08 23:25:06 +0000
commit649ba788abcc4e92618f48d4f8670f7e5d409542 (patch)
tree2858e0fad03210905fabcc6dce26521221e8cc4f /sys/kern/kern_malloc_debug.c
parentFix sign of errno values to match Linux. (diff)
downloadwireguard-openbsd-649ba788abcc4e92618f48d4f8670f7e5d409542.tar.xz
wireguard-openbsd-649ba788abcc4e92618f48d4f8670f7e5d409542.zip
Uncomment kprintf format attributes for sys/kern
tested on vax (gcc3) ok miod@
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 0eb73573d9d..046af234b4f 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.31 2013/06/25 19:45:15 syl Exp $ */
+/* $OpenBSD: kern_malloc_debug.c,v 1.32 2013/08/08 23:25:06 syl Exp $ */
/*
* Copyright (c) 1999, 2000 Artur Grabowski <art@openbsd.org>
@@ -301,7 +301,7 @@ 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;