Date: Tue, 2 Oct 2012 23:38:46 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Garrett Wollman <wollman@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r241140 - head/sys/kern Message-ID: <20121002193846.GX50433@FreeBSD.org> In-Reply-To: <201210021838.q92Ic55R085388@svn.freebsd.org> References: <201210021838.q92Ic55R085388@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 02, 2012 at 06:38:05PM +0000, Garrett Wollman wrote: G> Author: wollman G> Date: Tue Oct 2 18:38:05 2012 G> New Revision: 241140 G> URL: http://svn.freebsd.org/changeset/base/241140 G> G> Log: G> Fix spelling of the function name in two assertion messages. G> G> Modified: G> head/sys/kern/uipc_socket.c G> G> Modified: head/sys/kern/uipc_socket.c G> ============================================================================== G> --- head/sys/kern/uipc_socket.c Tue Oct 2 17:46:32 2012 (r241139) G> +++ head/sys/kern/uipc_socket.c Tue Oct 2 18:38:05 2012 (r241140) G> @@ -995,9 +995,9 @@ sosend_dgram(struct socket *so, struct s G> int atomic = sosendallatonce(so) || top; G> #endif G> G> - KASSERT(so->so_type == SOCK_DGRAM, ("sodgram_send: !SOCK_DGRAM")); G> + KASSERT(so->so_type == SOCK_DGRAM, ("sosend_dgram: !SOCK_DGRAM")); G> KASSERT(so->so_proto->pr_flags & PR_ATOMIC, G> - ("sodgram_send: !PR_ATOMIC")); G> + ("sosend_dgram: !PR_ATOMIC")); G> G> if (uio != NULL) G> resid = uio->uio_resid; Why not to use just __func__ here? -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121002193846.GX50433>