diff options
author | bde <bde@FreeBSD.org> | 1995-12-14 22:51:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-14 22:51:13 +0000 |
commit | d7acdbc572d46a43b184ec3a1ca01c259b6e66bc (patch) | |
tree | 4b11a7645c4e473703a7b70f11fd48bbe1d7d179 /sys/kern/uipc_socket2.c | |
parent | 45653e82c30db9f41465c44ed74dc20f09cdbc65 (diff) | |
download | FreeBSD-src-d7acdbc572d46a43b184ec3a1ca01c259b6e66bc.zip FreeBSD-src-d7acdbc572d46a43b184ec3a1ca01c259b6e66bc.tar.gz |
Nuked ambiguous sleep message strings:
old: new:
netcls[] = "netcls" "soclos"
netcon[] = "netcon" "accept", "connec"
netio[] = "netio" "sblock", "sbwait"
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r-- | sys/kern/uipc_socket2.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 807caad..0b49f53 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93 - * $Id: uipc_socket2.c,v 1.5 1995/05/30 08:06:22 rgrimes Exp $ + * $Id: uipc_socket2.c,v 1.6 1995/11/03 18:33:46 wollman Exp $ */ #include <sys/param.h> @@ -53,11 +53,6 @@ * Primitive routines for operating on sockets and socket buffers */ -/* strings for sleep message: */ -char netio[] = "netio"; -char netcon[] = "netcon"; -char netcls[] = "netcls"; - u_long sb_max = SB_MAX; /* XXX should be static */ SYSCTL_INT(_kern, KERN_MAXSOCKBUF, maxsockbuf, CTLFLAG_RW, &sb_max, 0, "") @@ -280,7 +275,7 @@ sbwait(sb) sb->sb_flags |= SB_WAIT; return (tsleep((caddr_t)&sb->sb_cc, - (sb->sb_flags & SB_NOINTR) ? PSOCK : PSOCK | PCATCH, netio, + (sb->sb_flags & SB_NOINTR) ? PSOCK : PSOCK | PCATCH, "sbwait", sb->sb_timeo)); } @@ -298,7 +293,7 @@ sb_lock(sb) sb->sb_flags |= SB_WANT; error = tsleep((caddr_t)&sb->sb_flags, (sb->sb_flags & SB_NOINTR) ? PSOCK : PSOCK|PCATCH, - netio, 0); + "sblock", 0); if (error) return (error); } |