diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1997-04-27 20:01:29 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1997-04-27 20:01:29 +0000 |
| commit | a29f300e809cf6c0167aa2518e33d076f62db72f (patch) | |
| tree | 26f8f66c254e302cbdab8c0f5cb2d6ebb75bb38a /sys/kern/uipc_domain.c | |
| parent | ee7877dfec86c65ee7af0a5c2b10112ce0d36485 (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_domain.c')
| -rw-r--r-- | sys/kern/uipc_domain.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c index a2c3477610b0..c2ec35f4c034 100644 --- a/sys/kern/uipc_domain.c +++ b/sys/kern/uipc_domain.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)uipc_domain.c 8.2 (Berkeley) 10/18/93 - * $Id$ + * $Id: uipc_domain.c,v 1.16 1997/02/22 09:39:27 peter Exp $ */ #include <sys/param.h> @@ -108,6 +108,11 @@ domaininit(dummy) /* See comments in uipc_socket2.c. */ if (pr->pr_usrreqs == 0 && pr->pr_ousrreq) pr->pr_usrreqs = &pru_oldstyle; +#else + if (pr->pr_usrreqs == 0) + panic("domaininit: %ssw[%d] has no usrreqs!", + dp->dom_name, + (int)(pr - dp->dom_protosw)); #endif if (pr->pr_init) (*pr->pr_init)(); |
