diff options
author | wollman <wollman@FreeBSD.org> | 2012-10-02 18:38:05 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2012-10-02 18:38:05 +0000 |
commit | b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551 (patch) | |
tree | b8c6f8de4494ce64cb04cab7c081c0e05fa124d0 | |
parent | 09c9ca8b3d61047c745bd805196cdc9b6f16459b (diff) | |
download | FreeBSD-src-b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551.zip FreeBSD-src-b94c59684cdb3c9b3b7ba7b02eefbdc58be1e551.tar.gz |
Fix spelling of the function name in two assertion messages.
-rw-r--r-- | sys/kern/uipc_socket.c | 4 |
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; |