diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/pdqreg.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ic/pdqreg.h b/sys/dev/ic/pdqreg.h index 7cbe3c66d63..2fe19c1ac3a 100644 --- a/sys/dev/ic/pdqreg.h +++ b/sys/dev/ic/pdqreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pdqreg.h,v 1.9 2002/06/02 22:50:00 deraadt Exp $ */ +/* $OpenBSD: pdqreg.h,v 1.10 2009/06/06 19:21:33 jasper Exp $ */ /* $NetBSD: pdqreg.h,v 1.6 1996/08/28 16:01:29 cgd Exp $ */ /*- @@ -54,11 +54,9 @@ #define PDQ_ASSERT(e) ((void)0) #else #ifdef __STDC__ -#define PDQ_ASSERT(e) ((e) ? (void)0 : \ - __assert("PDQ ", __FILE__, __LINE__, #e)) +#define PDQ_ASSERT(e) KASSERT(e) #else -#define PDQ_ASSERT(e) ((e) ? (void)0 : \ - __assert("PDQ ", __FILE__, __LINE__, "e")) +#define PDQ_ASSERT(e) KASSERT(e) #endif #endif #endif /* __NetBSD__ || __OpenBSD__ */ |