summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc_debug.c
diff options
context:
space:
mode:
authorSylvestre Gallon <syl@cvs.openbsd.org>2013-08-08 23:25:07 +0000
committerSylvestre Gallon <syl@cvs.openbsd.org>2013-08-08 23:25:07 +0000
commitad67cab56df7438e4864a37249583030f1008d95 (patch)
tree185751aa242862ac99aaba69385fb7a3c950afb7 /sys/kern/kern_malloc_debug.c
parent81b2323af9761573aaf81aeea5224a3538ae133a (diff)
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;