summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.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/subr_disk.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/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index f5eebe39c34..c132d2aeba9 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.150 2013/07/03 15:21:40 sf Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.151 2013/08/08 23:25:06 syl Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -756,7 +756,7 @@ diskerr(struct buf *bp, char *dname, char *what, int pri, int blkdone,
struct disklabel *lp)
{
int unit = DISKUNIT(bp->b_dev), part = DISKPART(bp->b_dev);
- int (*pr)(const char *, ...) /* __attribute__((__format__(__kprintf__,1,2))) */;
+ int (*pr)(const char *, ...) __attribute__((__format__(__kprintf__,1,2)));
char partname = 'a' + part;
daddr_t sn;