git: 082a13ce4dc1 - stable/12 - ping(8): Correct a typo in source code comment

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 07 Sep 2022 07:51:44 UTC
The branch stable/12 has been updated by gbe (doc committer):

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

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

    ping(8): Correct a typo in source code comment
    
    - s/occured/occurred/
    
    (cherry picked from commit eec35f1fb3aad710e2d064b77052c115779b4172)
---
 sbin/ping6/ping6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 94567d2a7b31..4ebd162ea55c 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1476,7 +1476,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,