aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-09-04 11:28:47 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-09-07 07:32:25 +0000
commit61037638f9def178751f187961b44490da1d23fe (patch)
tree294d3c2fa14fd82b043d900d7e3aca42a8da7af9
parent8f6bdf15ff03e839c5ba2d33f64098b0f2ee0749 (diff)
downloadsrc-61037638f9def178751f187961b44490da1d23fe.tar.gz
src-61037638f9def178751f187961b44490da1d23fe.zip
vmci(4): Correct some typos in source code comments
- s/occured/occurred/ (cherry picked from commit f2e13c27bbd1c2d385a572e97cc19ba122b74986)
-rw-r--r--sys/dev/vmware/vmci/vmci_qpair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vmware/vmci/vmci_qpair.c b/sys/dev/vmware/vmci/vmci_qpair.c
index acaef7256f5d..f0ef3cd02efa 100644
--- a/sys/dev/vmware/vmci/vmci_qpair.c
+++ b/sys/dev/vmware/vmci/vmci_qpair.c
@@ -491,7 +491,7 @@ vmci_qpair_consume_buf_ready(const struct vmci_qpair *qpair)
* VMCI_ERROR_QUEUEPAIR_NOSPACE if no space was available to enqueue data.
* VMCI_ERROR_INVALID_SIZE, if any queue pointer is outside the queue
* (as defined by the queue size).
- * VMCI_ERROR_INVALID_ARGS, if an error occured when accessing the buffer.
+ * VMCI_ERROR_INVALID_ARGS, if an error occurred when accessing the buffer.
* VMCI_ERROR_QUEUEPAIR_NOTATTACHED, if the queue pair pages aren't
* available.
* Otherwise, the number of bytes written to the queue is returned.
@@ -562,7 +562,7 @@ enqueue(struct vmci_queue *produce_q, struct vmci_queue *consume_q,
* VMCI_ERROR_QUEUEPAIR_NODATA if no data was available to dequeue.
* VMCI_ERROR_INVALID_SIZE, if any queue pointer is outside the queue
* (as defined by the queue size).
- * VMCI_ERROR_INVALID_ARGS, if an error occured when accessing the buffer.
+ * VMCI_ERROR_INVALID_ARGS, if an error occurred when accessing the buffer.
* VMCI_ERROR_NOT_FOUND, if the vmm_world registered with the queue pair
* cannot be found.
* Otherwise the number of bytes dequeued is returned.