[SLOF] [PATCH 2/4] Fix typos in the lib/libnet folder

Alexey Kardashevskiy aik at ozlabs.ru
Tue Feb 28 16:06:33 AEDT 2023



On 23/02/2023 03:05, Segher Boessenkool wrote:
> On Wed, Feb 22, 2023 at 04:40:55PM +0100, Thomas Huth wrote:
>> Found with the "codespell" utility.
>>
>> Signed-off-by: Thomas Huth <thuth at redhat.com>
> 
>> --- a/lib/libnet/dhcp.c
>> +++ b/lib/libnet/dhcp.c
>> @@ -111,7 +111,7 @@ static uint8_t dhcp_magic[] = {0x63, 0x82, 0x53, 0x63};
>>    *  or to retrieve options from DHCP-msg during receiving.
>>    *  <p>
>>    *  If flag[i] == TRUE then field for i-th option retains valid value and
>> - *  information from this field may retrived (in case of receiving) or will
>> + *  information from this field may retrieved (in case of receiving) or will
>>    *  be transmitted (in case of transmitting).
> 
> ... may be retrieved ...
> 
>> -		// packet is completly reassambled now!
>> +		// packet is completely reassambled now!
> 
> The word is "reassembled".  There is no word "reassambled", curious
> that your spellchecker used that, huh.
> 
>>   /**
>> - * send_ack - Sends a acknowlege package.
>> + * send_ack - Sends a acknowledge package.
> 
> Send an acknowledge packet (or acknowledgement even).
> 
> All spellos except "reassambled" are spotted correctly.


huh, I did "setlocal spell spelllang=en_us" and got lot more of this in 
my vim. It can even highlight "a the new ARP entry" :)

I'll fix them up.


-- 
Alexey


More information about the SLOF mailing list