net: vsock: Fix a typo
authorLu Wei <luwei32@huawei.com>
Sat, 27 Mar 2021 02:27:24 +0000 (10:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:52:51 +0000 (17:52 -0700)
Modify "occured" to "occurred" in net/vmw_vsock/af_vsock.c.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Lu Wei <luwei32@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/af_vsock.c

index bc7fb9bf3351ea2ee13f00e3c4ab646b8fd1b8ab..92a72f0e0d9429c9cfceb467f5bb58c0278611d9 100644 (file)
@@ -1855,7 +1855,7 @@ vsock_stream_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
        if (!transport || sk->sk_state != TCP_ESTABLISHED) {
                /* Recvmsg is supposed to return 0 if a peer performs an
                 * orderly shutdown. Differentiate between that case and when a
-                * peer has not connected or a local shutdown occured with the
+                * peer has not connected or a local shutdown occurred with the
                 * SOCK_DONE flag.
                 */
                if (sock_flag(sk, SOCK_DONE))