summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.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.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.c')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 34a976613a3..e0bd779b13c 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.102 2013/07/04 17:35:52 tedu Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.103 2013/08/08 23:25:06 syl Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -674,7 +674,7 @@ malloc_roundup(size_t sz)
void
malloc_printit(
- int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */)
+ int (*pr)(const char *, ...) __attribute__((__format__(__kprintf__,1,2))))
{
#ifdef KMEMSTATS
struct kmemstats *km;