git: bbaf705092f3 - stable/12 - snmp_hostres(3): Fix a typo in a debug message

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Fri, 08 Jul 2022 02:28:40 UTC
The branch stable/12 has been updated by gbe (doc committer):

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

commit bbaf705092f3cdc8a015f6b6d3f1d3737b1e86c4
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-03 12:57:12 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-07-08 02:26:06 +0000

    snmp_hostres(3): Fix a typo in a debug message
    
    - s/atempt/attempt/
    
    (cherry picked from commit c7b9006af57e453fe5fcb37a98edf61b5c7750f2)
---
 usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
index f1a2f09e440f..4cb0fc323139 100644
--- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
+++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
@@ -479,7 +479,7 @@ invalidate_swrun_entry(struct swrun_entry *entry, int commit)
 
 	if (entry->index >= NO_PID + 1)	{
 		/* this is a kernel item */
-		HRDBG("atempt to unload KLD %d",
+		HRDBG("attempt to unload KLD %d",
 		    entry->index -  NO_PID - 1);
 
 		if (entry->index == SWOSIndex) {