summaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-03-07 15:29:11 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-03-07 15:29:11 +0000
commite68c6390f456069ea03d41d5852c2e8a21ef3122 (patch)
treede11098501911bc55e638e7d9727f0a1c1bc4276 /sys/dev/isp
parent85faa377353dead500aabea795abc501d38600e5 (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/ispvar.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index b3e7911dbea2..dc18c7683c43 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -763,12 +763,8 @@ int isp_async(struct ispsoftc *, ispasync_t, void *);
/*
* Platform Dependent Error and Debug Printout
*/
-#ifdef __GNUCLIKE_ATTRIBUTE_PRINTF
void isp_prt(struct ispsoftc *, int level, const char *, ...)
- __attribute__((__format__(__printf__,3,4)));
-#else
-void isp_prt(struct ispsoftc *, int level, const char *, ...);
-#endif
+ __printflike(3, 4);
#define ISP_LOGALL 0x0 /* log always */
#define ISP_LOGCONFIG 0x1 /* log configuration messages */