From 56aea61cc918b4c5a9bfed9b0f210f57b7f2f8b3 Mon Sep 17 00:00:00 2001 From: arr Date: Mon, 20 May 2002 22:04:19 +0000 Subject: - Turn a DIAGNOSTIC into an INVARIANTS since it's a sanity check. Use proper ``if'' statement style. --- sys/netinet/if_atm.c | 5 +++-- 1 file 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 -- cgit v1.1