diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-28 13:09:07 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-28 13:09:07 +0000 |
commit | 3771420b8f178cc3edbd8e6a44f1304a39b035d7 (patch) | |
tree | 29ddbca1043277687a17b2474855da5a67593ba8 /sys/dev/ic/gem.c | |
parent | 31b998331590cb4e77b3d3fabf27bb3f250d6f6b (diff) |
Fix a DIAGNOSTIC check.
Diffstat (limited to 'sys/dev/ic/gem.c')
-rw-r--r-- | sys/dev/ic/gem.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index 2dadc5ce6a2..caebcf20c31 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,3 +1,4 @@ +/* $OpenBSD: gem.c,v 1.8 2001/09/28 13:09:06 art Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -1277,11 +1278,11 @@ gem_tint(sc) sc->sc_txfree += txs->txs_ndescs; - if (txs->txs_mbuf == NULL) { #ifdef DIAGNOSTIC - panic("gem_txintr: null mbuf"); -#endif + if (txs->txs_mbuf == NULL) { + panic("gem_txintr: null mbuf"); } +#endif bus_dmamap_sync(sc->sc_dmatag, txs->txs_dmamap, 0, txs->txs_dmamap->dm_mapsize, |