aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-06-01 23:41:32 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-02 02:33:39 +0000
commit589fe499b72b6d84be366b6bff66291612226079 (patch)
tree143a5e224954f6b75bc26b505d0c380d81f8f7c2
parente095cbab2f819362576f6bcb7521665583df66a8 (diff)
downloadsrc-589fe499b72b6d84be366b6bff66291612226079.tar.gz
src-589fe499b72b6d84be366b6bff66291612226079.zip
nvmecontrol: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
-rw-r--r--sbin/nvmecontrol/nvmecontrol.h2
-rw-r--r--sbin/nvmecontrol/passthru.c2
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,