diff options
author | arr <arr@FreeBSD.org> | 2002-05-20 22:04:19 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-05-20 22:04:19 +0000 |
commit | 56aea61cc918b4c5a9bfed9b0f210f57b7f2f8b3 (patch) | |
tree | 5e45d8345f3b777814ede07a0428175d57a2349d | |
parent | 6fe64080f2001cfff44e5b96534771c4b6405fcb (diff) | |
download | FreeBSD-src-56aea61cc918b4c5a9bfed9b0f210f57b7f2f8b3.zip FreeBSD-src-56aea61cc918b4c5a9bfed9b0f210f57b7f2f8b3.tar.gz |
- Turn a DIAGNOSTIC into an INVARIANTS since it's a sanity check. Use
proper ``if'' statement style.
-rw-r--r-- | sys/netinet/if_atm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/if_atm.c b/sys/netinet/if_atm.c index 83fe027..acad219 100644 --- a/sys/netinet/if_atm.c +++ b/sys/netinet/if_atm.c @@ -125,8 +125,9 @@ atm_rtrequest(req, rt, info) break; } -#ifdef DIAGNOSTIC - if (rt->rt_ifp->if_ioctl == NULL) panic("atm null ioctl"); +#ifdef INVARIANTS + if (rt->rt_ifp->if_ioctl == NULL) + panic("atm_rtrequest: atm null ioctl"); #endif #ifdef NATM |