summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2012-10-02 18:38:05 +0000
committerwollman <wollman@FreeBSD.org>2012-10-02 18:38:05 +0000
commitb94c59684cdb3c9b3b7ba7b02eefbdc58be1e551 (patch)
treeb8c6f8de4494ce64cb04cab7c081c0e05fa124d0 /sys/kern/uipc_socket.c
parent09c9ca8b3d61047c745bd805196cdc9b6f16459b (diff)
downloadFreeBSD-src-b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551.zip
FreeBSD-src-b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551.tar.gz
Fix spelling of the function name in two assertion messages.
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index c82b0de..8340e47 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -995,9 +995,9 @@ sosend_dgram(struct socket *so, struct sockaddr *addr, struct uio *uio,
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;
OpenPOWER on IntegriCloud