git: eec35f1fb3aa - main - ping(8): Correct a typo in source code comment

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 11:26:47 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=eec35f1fb3aad710e2d064b77052c115779b4172

commit eec35f1fb3aad710e2d064b77052c115779b4172
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-04 11:26:34 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-04 11:26:34 +0000

    ping(8): Correct a typo in source code comment
    
    - s/occured/occurred/
    
    MFC after:      3 days
---
 sbin/ping/ping6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ping/ping6.c b/sbin/ping/ping6.c
index e780129c928d..74d36f0357f8 100644
--- a/sbin/ping/ping6.c
+++ b/sbin/ping/ping6.c
@@ -1515,7 +1515,7 @@ mynireply(const struct icmp6_nodeinfo *nip)
  *
  * Return value:
  *   Pointer to an octet immediately following the ending zero octet
- *   of the decoded label, or NULL if an error occured.
+ *   of the decoded label, or NULL if an error occurred.
  */
 static const char *
 dnsdecode(const u_char *sp, const u_char *ep, const u_char *base, char *buf,