git: 68b9ba419f66 - stable/13 - ping(8): Correct a typo in source code comment

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

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

commit 68b9ba419f66be1339056bbc56430fffc8103d02
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:23:45 +0000

    ping(8): Correct a typo in source code comment
    
    - s/occured/occurred/
    
    (cherry picked from commit eec35f1fb3aad710e2d064b77052c115779b4172)
---
 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 76a96f0631ff..b17d5805eed5 100644
--- a/sbin/ping/ping6.c
+++ b/sbin/ping/ping6.c
@@ -1504,7 +1504,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,