git: 136a9bb4e348 - main - hastd: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jun 2023 02:33:51 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=136a9bb4e348d4dd1edf6e3d1e092bfa074fac3e commit 136a9bb4e348d4dd1edf6e3d1e092bfa074fac3e Author: Elyes Haouas <ehaouas@noos.fr> AuthorDate: 2023-06-01 23:41:32 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-06-02 02:33:39 +0000 hastd: Fix typos Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- sbin/hastd/lzf.h | 4 ++-- sbin/hastd/primary.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/hastd/lzf.h b/sbin/hastd/lzf.h index 2c7cd60be5b7..d54e8eb66ae3 100644 --- a/sbin/hastd/lzf.h +++ b/sbin/hastd/lzf.h @@ -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. diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index 99733a838de2..f8e88e344a36 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -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; /*