Am I smoking crack? Correct stupid, wrong ASSERT -> if conversion and make
it do what I had in mind. Noticed by: glebius Pointyhat to: me, myself and mlaier
This commit is contained in:
parent
ad0c89f79c
commit
83727f0c3a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138315
@ -170,7 +170,7 @@ net_add_domain(void *data)
|
||||
("attempt to net_add_domain(%s) before domaininit()",
|
||||
dp->dom_name));
|
||||
#ifndef INVARIANTS
|
||||
if (domain_init_status == 0)
|
||||
if (domain_init_status < 1)
|
||||
printf("WARNING: attempt to net_add_domain(%s) before "
|
||||
"domaininit()\n", dp->dom_name);
|
||||
#endif
|
||||
@ -179,7 +179,7 @@ net_add_domain(void *data)
|
||||
("attempt to net_add_domain(%s) after domainfinalize()",
|
||||
dp->dom_name));
|
||||
#else
|
||||
if (domain_init_status != 0)
|
||||
if (domain_init_status >= 2)
|
||||
printf("WARNING: attempt to net_add_domain(%s) after "
|
||||
"domainfinalize()\n", dp->dom_name);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user