aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libshare/nfs.c2
-rw-r--r--lib/libspl/include/atomic.h2
-rw-r--r--lib/libspl/include/sys/dkio.h2
-rw-r--r--lib/libspl/include/sys/dklabel.h2
-rw-r--r--lib/libzfs/libzfs_pool.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c
index a542eff1b..99dd7c1c4 100644
--- a/lib/libshare/nfs.c
+++ b/lib/libshare/nfs.c
@@ -723,7 +723,7 @@ nfs_check_exportfs(void)
}
/*
- * Provides a convenient wrapper for determing nfs availability
+ * Provides a convenient wrapper for determining nfs availability
*/
static boolean_t
nfs_available(void)
diff --git a/lib/libspl/include/atomic.h b/lib/libspl/include/atomic.h
index 9b0775bb9..7072a11bd 100644
--- a/lib/libspl/include/atomic.h
+++ b/lib/libspl/include/atomic.h
@@ -247,7 +247,7 @@ extern uint64_t atomic_swap_64(volatile uint64_t *, uint64_t);
/*
* Perform an exclusive atomic bit set/clear on a target.
- * Returns 0 if bit was sucessfully set/cleared, or -1
+ * Returns 0 if bit was successfully set/cleared, or -1
* if the bit was already set/cleared.
*/
extern int atomic_set_long_excl(volatile ulong_t *, uint_t);
diff --git a/lib/libspl/include/sys/dkio.h b/lib/libspl/include/sys/dkio.h
index 6b430b81f..2e6b9a1a9 100644
--- a/lib/libspl/include/sys/dkio.h
+++ b/lib/libspl/include/sys/dkio.h
@@ -158,7 +158,7 @@ struct dk_geom {
/*
* The following ioctls are generic in nature and need to be
- * suported as appropriate by all disk drivers
+ * supported as appropriate by all disk drivers
*/
#define DKIOCGGEOM (DKIOC|1) /* Get geometry */
#define DKIOCINFO (DKIOC|3) /* Get info */
diff --git a/lib/libspl/include/sys/dklabel.h b/lib/libspl/include/sys/dklabel.h
index 8772e4a53..95faf2bb4 100644
--- a/lib/libspl/include/sys/dklabel.h
+++ b/lib/libspl/include/sys/dklabel.h
@@ -107,7 +107,7 @@ struct dk_map2 {
struct dkl_partition {
uint16_t p_tag; /* ID tag of partition */
- uint16_t p_flag; /* permision flags */
+ uint16_t p_flag; /* permission flags */
daddr32_t p_start; /* start sector no of partition */
int32_t p_size; /* # of blocks in partition */
};
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c
index 2cfb01981..ace2205a8 100644
--- a/lib/libzfs/libzfs_pool.c
+++ b/lib/libzfs/libzfs_pool.c
@@ -902,7 +902,7 @@ zpool_prop_get_feature(zpool_handle_t *zhp, const char *propname, char *buf,
/*
* Convert from feature name to feature guid. This conversion is
- * unecessary for unsupported@... properties because they already
+ * unnecessary for unsupported@... properties because they already
* use guids.
*/
if (supported) {