Fix spelling of the function name in two assertion messages.

This commit is contained in:
Garrett Wollman 2012-10-02 18:38:05 +00:00
parent 7b81c83c21
commit 48b5c7410f

View File

@ -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;