svn commit: r239978 - stable/9/sys/kern

Mikolaj Golub trociny at FreeBSD.org
Sat Sep 1 10:18:09 UTC 2012


Author: trociny
Date: Sat Sep  1 10:18:09 2012
New Revision: 239978
URL: http://svn.freebsd.org/changeset/base/239978

Log:
  MFC r238085:
  
  Fix KASSERT message.

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

Modified: stable/9/sys/kern/uipc_socket.c
==============================================================================
--- stable/9/sys/kern/uipc_socket.c	Sat Sep  1 10:00:37 2012	(r239977)
+++ stable/9/sys/kern/uipc_socket.c	Sat Sep  1 10:18:09 2012	(r239978)
@@ -635,7 +635,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-9 mailing list