diff options
-rw-r--r-- | sys/pci/ncr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index bcd200c..851c43f 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -256,12 +256,7 @@ __FBSDID("$FreeBSD$"); #ifdef DIAGNOSTIC #define assert(expression) { \ - if (!(expression)) { \ - (void)printf("assertion \"%s\" failed: " \ - "file \"%s\", line %d\n", \ - #expression, __FILE__, __LINE__); \ - kdb_enter(""); \ - } \ + KASSERT(expression, ("%s", #expression)); \ } #else #define assert(expression) { \ |