git: c7b9006af57e - main - snmp_hostres(3): Fix a typo in a debug message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 12:57:39 UTC
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=c7b9006af57e453fe5fcb37a98edf61b5c7750f2 commit c7b9006af57e453fe5fcb37a98edf61b5c7750f2 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-07-03 12:57:12 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-07-03 12:57:12 +0000 snmp_hostres(3): Fix a typo in a debug message - s/atempt/attempt/ MFC after: 3 days --- 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) {