- Turn a DIAGNOSTIC into an INVARIANTS since it's a sanity check. Use

proper ``if'' statement style.
This commit is contained in:
Andrew R. Reiter 2002-05-20 22:04:19 +00:00
parent e16f6e6200
commit 1e404e4e86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97019

View File

@ -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