git: d71b964aee25 - stable/12 - bsnmp: Fix two typos in error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Feb 2022 08:50:54 UTC
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d71b964aee2509d1d7b522ee5c2e23dc9075ec58 commit d71b964aee2509d1d7b522ee5c2e23dc9075ec58 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:50:20 +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 a42f94a4b55f..5a640bdcff9f 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); }