aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zgenhostid/zgenhostid.c2
-rw-r--r--cmd/zpool/zpool_main.c2
-rw-r--r--cmd/zpool/zpool_vdev.c2
-rw-r--r--cmd/ztest/ztest.c2
-rwxr-xr-xcmd/zvol_wait/zvol_wait2
5 files changed, 5 insertions, 5 deletions
diff --git a/cmd/zgenhostid/zgenhostid.c b/cmd/zgenhostid/zgenhostid.c
index 50fcf05e4..5a9bdad7c 100644
--- a/cmd/zgenhostid/zgenhostid.c
+++ b/cmd/zgenhostid/zgenhostid.c
@@ -137,7 +137,7 @@ main(int argc, char **argv)
}
/*
- * we need just 4 bytes in native endianess
+ * we need just 4 bytes in native endianness
* not using sethostid() because it may be missing or just a stub
*/
uint32_t hostid = input_i;
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c
index e23604b3d..7a15c78d1 100644
--- a/cmd/zpool/zpool_main.c
+++ b/cmd/zpool/zpool_main.c
@@ -1065,7 +1065,7 @@ zpool_do_add(int argc, char **argv)
free(vname);
}
}
- /* And finaly the spares */
+ /* And finally the spares */
if (nvlist_lookup_nvlist_array(poolnvroot, ZPOOL_CONFIG_SPARES,
&sparechild, &sparechildren) == 0 && sparechildren > 0) {
hadspare = B_TRUE;
diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c
index c86081a81..3d83da641 100644
--- a/cmd/zpool/zpool_vdev.c
+++ b/cmd/zpool/zpool_vdev.c
@@ -445,7 +445,7 @@ typedef struct replication_level {
/*
* N.B. For the purposes of comparing replication levels dRAID can be
- * considered functionally equivilant to raidz.
+ * considered functionally equivalent to raidz.
*/
static boolean_t
is_raidz_mirror(replication_level_t *a, replication_level_t *b,
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c
index 7193eafe3..24197d27b 100644
--- a/cmd/ztest/ztest.c
+++ b/cmd/ztest/ztest.c
@@ -5979,7 +5979,7 @@ ztest_fault_inject(ztest_ds_t *zd, uint64_t id)
vd0->vdev_resilver_txg != 0)) {
/*
* Make vd0 explicitly claim to be unreadable,
- * or unwriteable, or reach behind its back
+ * or unwritable, or reach behind its back
* and close the underlying fd. We can do this if
* maxfaults == 0 because we'll fail and reexecute,
* and we can do it if maxfaults >= 2 because we'll
diff --git a/cmd/zvol_wait/zvol_wait b/cmd/zvol_wait/zvol_wait
index 9a3948da5..eb1b3e81f 100755
--- a/cmd/zvol_wait/zvol_wait
+++ b/cmd/zvol_wait/zvol_wait
@@ -39,7 +39,7 @@ list_zvols() {
[ "$volmode" = "none" ] && continue
[ "$redacted" = "-" ] || continue
#
- # We also also ignore partially received zvols if it is
+ # We also ignore partially received zvols if it is
# not an incremental receive, as those won't even have a block
# device minor node created yet.
#