From owner-svn-src-all@FreeBSD.ORG Tue Oct 2 19:38:49 2012 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 02E2B106566C; Tue, 2 Oct 2012 19:38:49 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 7100F8FC08; Tue, 2 Oct 2012 19:38:48 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q92JckeF030613; Tue, 2 Oct 2012 23:38:46 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q92Jck7V030612; Tue, 2 Oct 2012 23:38:46 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 2 Oct 2012 23:38:46 +0400 From: Gleb Smirnoff To: Garrett Wollman Message-ID: <20121002193846.GX50433@FreeBSD.org> References: <201210021838.q92Ic55R085388@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201210021838.q92Ic55R085388@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r241140 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 19:38:49 -0000 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.