From: Denis Ovsienko Date: Wed, 1 Aug 2018 13:06:33 +0000 (+0100) Subject: Fix some spelling in comments. X-Git-Tag: tcpdump-4.99-bp~1074 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/9ea3e1b265f226ca5e51f87e5d97740718f46dbc Fix some spelling in comments. [skip ci] --- diff --git a/aclocal.m4 b/aclocal.m4 index 5ffbb299..50b5673a 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -990,11 +990,11 @@ dnl This test exists so that every application developer does not test dnl this in a different, and subtly broken fashion. dnl It has been argued that this test should be broken up into two -dnl seperate tests, one for the resolver libraries, and one for the +dnl separate tests, one for the resolver libraries, and one for the dnl libraries necessary for using Sockets API. Unfortunately, the two dnl are carefully intertwined and allowing the autoconf user to use -dnl them independantly potentially results in unfortunate ordering -dnl dependancies -- as such, such component macros would have to +dnl them independently potentially results in unfortunate ordering +dnl dependencies -- as such, such component macros would have to dnl carefully use indirection and be aware if the other components were dnl executed. Since other autoconf macros do not go to this trouble, dnl and almost no applications use sockets without the resolver, this diff --git a/print-bootp.c b/print-bootp.c index 62b337cb..41c82889 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -408,8 +408,8 @@ trunc: * l - long (32 bits) * L - unsigned long (32 bits) * s - short (16 bits) - * b - period-seperated decimal bytes (variable length) - * x - colon-seperated hex bytes (variable length) + * b - period-separated decimal bytes (variable length) + * x - colon-separated hex bytes (variable length) * a - ASCII string (variable length) * B - on/off (8 bits) * $ - special (explicit code to handle) diff --git a/print-rx.c b/print-rx.c index 0eaca189..3a2a51a0 100644 --- a/print-rx.c +++ b/print-rx.c @@ -2791,7 +2791,7 @@ rx_ack_print(netdissect_options *ndo, * the range (such as an nacked packet in * the middle of some acked packets), * then print the current packet number - * seperated from the last number by + * separated from the last number by * a comma. */ @@ -2814,7 +2814,7 @@ rx_ack_print(netdissect_options *ndo, * we hit a nack ... in _this_ case we * want to print out the range of packets * that were acked, so we need to print - * the _previous_ packet number seperated + * the _previous_ packet number separated * from the first by a dash (-). Since we * already printed the first packet above, * just print the final packet. Don't diff --git a/util-print.c b/util-print.c index ce5bfdc9..7f23a4b0 100644 --- a/util-print.c +++ b/util-print.c @@ -501,7 +501,7 @@ tok2str(const struct tok *lp, const char *fmt, /* * Convert a bit token value to a string; use "fmt" if not found. - * this is useful for parsing bitfields, the output strings are seperated + * this is useful for parsing bitfields, the output strings are separated * if the s field is positive. */ static char * @@ -555,7 +555,7 @@ bittok2str_internal(const struct tok *lp, const char *fmt, /* * Convert a bit token value to a string; use "fmt" if not found. - * this is useful for parsing bitfields, the output strings are not seperated. + * this is useful for parsing bitfields, the output strings are not separated. */ char * bittok2str_nosep(const struct tok *lp, const char *fmt, @@ -566,7 +566,7 @@ bittok2str_nosep(const struct tok *lp, const char *fmt, /* * Convert a bit token value to a string; use "fmt" if not found. - * this is useful for parsing bitfields, the output strings are comma seperated. + * this is useful for parsing bitfields, the output strings are comma separated. */ char * bittok2str(const struct tok *lp, const char *fmt,