diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c | 2 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.h | 4 | ||||
-rw-r--r-- | usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c index abee9c231089..dff476a4cca0 100644 --- a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c +++ b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpmap.c @@ -288,7 +288,7 @@ enum_pair_insert(struct enum_pairs *headp, int32_t enum_val, char *enum_str) /* * Insert an entry in a list - entries are lexicographicaly order by asn_oid. * Returns 1 on success, -1 if list is not initialized, 0 if a matching oid already - * exists. Error cheking is left to calling function. + * exists. Error checking is left to calling function. */ static int snmp_mapping_insert(struct snmp_mapping *headp, struct snmp_oid2str *entry) diff --git a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.h b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.h index fd066762ad7d..8ad17cd4b1b5 100644 --- a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.h +++ b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.h @@ -39,14 +39,14 @@ /* * 11 bytes - octets that represent DateAndTime Textual convention - * and the size of string used to diplay that. + * and the size of string used to display that. */ #define SNMP_DATETIME_OCTETS 11 #define SNMP_DATETIME_STRSZ 32 /* * 6 bytes - octets that represent PhysAddress Textual convention - * and the size of string used to diplay that. + * and the size of string used to display that. */ #define SNMP_PHYSADDR_OCTETS 6 #define SNMP_PHYSADDR_STRSZ 19 diff --git a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c index bd2034a0f156..9dc2f890ac7f 100644 --- a/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c +++ b/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c @@ -52,7 +52,7 @@ #include "bsnmptc.h" #include "bsnmptools.h" -/* Internal varibale to turn on library debugging for testing and to +/* Internal variable to turn on library debugging for testing and to * find bugs. It is not exported via the header file. * XXX should we cover it by some #ifdef BSNMPTOOLS_DEBUG? */ int _bsnmptools_debug = 0; @@ -1340,7 +1340,7 @@ snmp_suboid_pop(struct asn_oid *var) } /* - * Parse the command-line provided string into an OID - alocate memory for a new + * Parse the command-line provided string into an OID - allocate memory for a new * snmp object, fill in its fields and insert it in the object list. A * (snmp_verify_inoid_f) function must be provided to validate the input string. */ |