Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2012 18:38:05 +0000 (UTC)
From:      Garrett Wollman <wollman@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241140 - head/sys/kern
Message-ID:  <201210021838.q92Ic55R085388@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210021838.q92Ic55R085388>