git: 4731124cace5 - main - bsnmp: Fix two typos in error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 19:26:16 UTC
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=4731124cace5e7a0224e29784617d2856e5c59ab commit 4731124cace5e7a0224e29784617d2856e5c59ab Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-01-26 19:25:40 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-01-26 19:25:40 +0000 bsnmp: Fix two typos in error messages - s/responce/response/ MFC after: 1 week --- 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); }