git: e61be158fbce - stable/13 - bsnmp: Fix two typos in error messages

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 02 Feb 2022 08:50:02 UTC
The branch stable/13 has been updated by gbe (doc committer):

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

commit e61be158fbce1ac69a7c7baa15fa38a1a1b2d800
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-01-26 19:25:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-02 08:49:53 +0000

    bsnmp: Fix two typos in error messages
    
    - s/responce/response/
    
    (cherry picked from commit 4731124cace5e7a0224e29784617d2856e5c59ab)
---
 contrib/bsnmp/lib/snmpclient.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/bsnmp/lib/snmpclient.c b/contrib/bsnmp/lib/snmpclient.c
index c22d8e125a14..05711e341fd7 100644
--- a/contrib/bsnmp/lib/snmpclient.c
+++ b/contrib/bsnmp/lib/snmpclient.c
@@ -1775,7 +1775,7 @@ snmp_discover_engine(char *passwd)
 	}
 
 	if (resp.error_status != SNMP_ERR_NOERROR) {
-		seterr(&snmp_client, "Error %d in responce", resp.error_status);
+		seterr(&snmp_client, "Error %d in response", resp.error_status);
 		return (-1);
 	}
 
@@ -1821,7 +1821,7 @@ snmp_discover_engine(char *passwd)
 	}
 
 	if (resp.error_status != SNMP_ERR_NOERROR) {
-		seterr(&snmp_client, "Error %d in responce", resp.error_status);
+		seterr(&snmp_client, "Error %d in response", resp.error_status);
 		return (-1);
 	}