- Turn a DIAGNOSTIC into an INVARIANTS since it's a sanity check. Use
proper ``if'' statement style.
This commit is contained in:
parent
e16f6e6200
commit
1e404e4e86
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97019
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user