git: 589fe499b72b - main - nvmecontrol: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jun 2023 02:33:54 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=589fe499b72b6d84be366b6bff66291612226079
commit 589fe499b72b6d84be366b6bff66291612226079
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
nvmecontrol: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/653
---
sbin/nvmecontrol/nvmecontrol.h | 2 +-
sbin/nvmecontrol/passthru.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/nvmecontrol/nvmecontrol.h b/sbin/nvmecontrol/nvmecontrol.h
index 3e76de1cc276..02f55367f7fc 100644
--- a/sbin/nvmecontrol/nvmecontrol.h
+++ b/sbin/nvmecontrol/nvmecontrol.h
@@ -85,7 +85,7 @@ void print_intel_add_smart(const struct nvme_controller_data *cdata __unused, vo
* 128-bit integer augments to standard values. On i386 this
* doesn't exist, so we use 64-bit values. So, on 32-bit i386,
* you'll get truncated values until someone implement 128bit
- * ints in sofware.
+ * ints in software.
*/
#define UINT128_DIG 39
#ifdef __i386__
diff --git a/sbin/nvmecontrol/passthru.c b/sbin/nvmecontrol/passthru.c
index d714e63e3e01..9f4e3189bd04 100644
--- a/sbin/nvmecontrol/passthru.c
+++ b/sbin/nvmecontrol/passthru.c
@@ -123,7 +123,7 @@ static struct opts opts[] = {
ARG("data-len", 'l', arg_uint32, opt, data_len,
"Length of data for I/O (bytes)"),
ARG("metadata-len", 'm', arg_uint32, opt, metadata_len,
- "Length of metadata segment (bytes) (igored)"),
+ "Length of metadata segment (bytes) (ignored)"),
ARG("flags", 'f', arg_uint8, opt, flags,
"NVMe command flags"),
ARG("input-file", 'i', arg_path, opt, ifn,