hastd: Fix typos

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/653
This commit is contained in:
Elyes Haouas 2023-06-01 17:41:32 -06:00 committed by Warner Losh
parent 34181db8bc
commit 136a9bb4e3
2 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ lzf_decompress (const void *const in_data, unsigned int in_len,
#endif
/*
* Wether to pass the LZF_STATE variable as argument, or allocate it
* Whether to pass the LZF_STATE variable as argument, or allocate it
* on the stack. For small-stack environments, define this to 1.
* NOTE: this breaks the prototype in lzf.h.
*/
@ -169,7 +169,7 @@ lzf_decompress (const void *const in_data, unsigned int in_len,
#endif
/*
* Wether to add extra checks for input validity in lzf_decompress
* Whether to add extra checks for input validity in lzf_decompress
* and return EINVAL if the input stream has been corrupted. This
* only shields against overflowing the input buffer and will not
* detect most corrupted streams.

View File

@ -101,7 +101,7 @@ struct hio {
*/
refcnt_t hio_writecount;
/*
* Memsync request was acknowleged by remote.
* Memsync request was acknowledged by remote.
*/
bool hio_memsyncacked;
/*