svn commit: r239979 - stable/8/sys/kern

Mikolaj Golub trociny at FreeBSD.org
Sat Sep 1 10:21:57 UTC 2012


Author: trociny
Date: Sat Sep  1 10:21:56 2012
New Revision: 239979
URL: http://svn.freebsd.org/changeset/base/239979

Log:
  MFC r238085:
  
  Fix KASSERT message.

Modified:
  stable/8/sys/kern/uipc_socket.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/kern/   (props changed)

Modified: stable/8/sys/kern/uipc_socket.c
==============================================================================
--- stable/8/sys/kern/uipc_socket.c	Sat Sep  1 10:18:09 2012	(r239978)
+++ stable/8/sys/kern/uipc_socket.c	Sat Sep  1 10:21:56 2012	(r239979)
@@ -626,7 +626,7 @@ sofree(struct socket *so)
 	    so->so_qstate & SQ_COMP, so->so_qstate & SQ_INCOMP));
 	if (so->so_options & SO_ACCEPTCONN) {
 		KASSERT((TAILQ_EMPTY(&so->so_comp)), ("sofree: so_comp populated"));
-		KASSERT((TAILQ_EMPTY(&so->so_incomp)), ("sofree: so_comp populated"));
+		KASSERT((TAILQ_EMPTY(&so->so_incomp)), ("sofree: so_incomp populated"));
 	}
 	SOCK_UNLOCK(so);
 	ACCEPT_UNLOCK();


More information about the svn-src-stable-8 mailing list