summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_domain.c
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2004-12-02 15:47:15 +0000
committerMax Laier <mlaier@FreeBSD.org>2004-12-02 15:47:15 +0000
commit83727f0c3afb94bf9a47f3c959fb2b3dac473391 (patch)
treeeb44bdd720d92a02e0c7096980012e1aad13fd61 /sys/kern/uipc_domain.c
parentad0c89f79ce6b3f24799f69cbe3dfcf661701b74 (diff)
downloadsrc-test-83727f0c3afb94bf9a47f3c959fb2b3dac473391.tar.gz
src-test-83727f0c3afb94bf9a47f3c959fb2b3dac473391.zip
Notes
Diffstat (limited to 'sys/kern/uipc_domain.c')
-rw-r--r--sys/kern/uipc_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 5dc543088ea59..91f5c9f845a73 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -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