From 649ba788abcc4e92618f48d4f8670f7e5d409542 Mon Sep 17 00:00:00 2001 From: syl Date: Thu, 8 Aug 2013 23:25:06 +0000 Subject: Uncomment kprintf format attributes for sys/kern tested on vax (gcc3) ok miod@ --- sys/kern/kern_malloc_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_malloc_debug.c') 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 @@ -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; -- cgit v1.2.3-59-g8ed1b