diff options
author | Max Laier <mlaier@FreeBSD.org> | 2004-12-02 15:47:15 +0000 |
---|---|---|
committer | Max Laier <mlaier@FreeBSD.org> | 2004-12-02 15:47:15 +0000 |
commit | 83727f0c3afb94bf9a47f3c959fb2b3dac473391 (patch) | |
tree | eb44bdd720d92a02e0c7096980012e1aad13fd61 /sys/kern/uipc_domain.c | |
parent | ad0c89f79ce6b3f24799f69cbe3dfcf661701b74 (diff) | |
download | src-test-83727f0c3afb94bf9a47f3c959fb2b3dac473391.tar.gz src-test-83727f0c3afb94bf9a47f3c959fb2b3dac473391.zip |
Notes
Diffstat (limited to 'sys/kern/uipc_domain.c')
-rw-r--r-- | sys/kern/uipc_domain.c | 4 |
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 |