svn commit: r241140 - head/sys/kern

Garrett Wollman wollman at FreeBSD.org
Tue Oct 2 18:38:06 UTC 2012


Author: wollman
Date: Tue Oct  2 18:38:05 2012
New Revision: 241140
URL: http://svn.freebsd.org/changeset/base/241140

Log:
  Fix spelling of the function name in two assertion messages.

Modified:
  head/sys/kern/uipc_socket.c

Modified: head/sys/kern/uipc_socket.c
==============================================================================
--- head/sys/kern/uipc_socket.c	Tue Oct  2 17:46:32 2012	(r241139)
+++ head/sys/kern/uipc_socket.c	Tue Oct  2 18:38:05 2012	(r241140)
@@ -995,9 +995,9 @@ sosend_dgram(struct socket *so, struct s
 	int atomic = sosendallatonce(so) || top;
 #endif
 
-	KASSERT(so->so_type == SOCK_DGRAM, ("sodgram_send: !SOCK_DGRAM"));
+	KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM"));
 	KASSERT(so->so_proto->pr_flags & PR_ATOMIC,
-	    ("sodgram_send: !PR_ATOMIC"));
+	    ("sosend_dgram: !PR_ATOMIC"));
 
 	if (uio != NULL)
 		resid = uio->uio_resid;


More information about the svn-src-all mailing list