git: f2e13c27bbd1 - main - vmci(4): Correct some typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Sep 2022 11:28:59 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=f2e13c27bbd1c2d385a572e97cc19ba122b74986
commit f2e13c27bbd1c2d385a572e97cc19ba122b74986
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-04 11:28:47 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-04 11:28:47 +0000
vmci(4): Correct some typos in source code comments
- s/occured/occurred/
MFC after: 3 days
---
sys/dev/vmware/vmci/vmci_qpair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/vmware/vmci/vmci_qpair.c b/sys/dev/vmware/vmci/vmci_qpair.c
index 336dc9eb342b..a3cb69d00df4 100644
--- a/sys/dev/vmware/vmci/vmci_qpair.c
+++ b/sys/dev/vmware/vmci/vmci_qpair.c
@@ -486,7 +486,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.
@@ -557,7 +557,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.