summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeLiXin <[email protected]>2016-08-08 16:00:08 +0800
committerBrian Behlendorf <[email protected]>2016-08-11 11:23:49 -0700
commitd5884c3453c5de5892eaae672c5186ed02846113 (patch)
treece2e9db7165452409f75180537b48ea238ea2785 /lib
parente5fe9ddeec55e3f7f8348330b3d414244f2d0670 (diff)
Fix indefinite article
The indefinite article before nvlist should be "an", not "a". We have 27 "an nvlist" and 7 "a nvlist" in our comment, they should stay the same as we are such a strict filesystem. Signed-off-by: GeLiXin <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4941
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/libzfs_config.c2
-rw-r--r--lib/libzfs_core/libzfs_core.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libzfs/libzfs_config.c b/lib/libzfs/libzfs_config.c
index 6ecfe98ff..4585a2b77 100644
--- a/lib/libzfs/libzfs_config.c
+++ b/lib/libzfs/libzfs_config.c
@@ -212,7 +212,7 @@ namespace_reload(libzfs_handle_t *hdl)
}
/*
- * Retrieve the configuration for the given pool. The configuration is a nvlist
+ * Retrieve the configuration for the given pool. The configuration is an nvlist
* describing the vdevs, as well as the statistics associated with each one.
*/
nvlist_t *
diff --git a/lib/libzfs_core/libzfs_core.c b/lib/libzfs_core/libzfs_core.c
index 0359e4284..74370f401 100644
--- a/lib/libzfs_core/libzfs_core.c
+++ b/lib/libzfs_core/libzfs_core.c
@@ -391,7 +391,7 @@ lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist)
*
* The keys in the nvlist are snapshot names.
* The snapshots must all be in the same pool.
- * The value is a nvlist whose keys are the holds to remove.
+ * The value is an nvlist whose keys are the holds to remove.
*
* Holds which failed to release because they didn't exist will have an entry
* added to errlist, but will not cause an overall failure.
@@ -424,7 +424,7 @@ lzc_release(nvlist_t *holds, nvlist_t **errlist)
/*
* Retrieve list of user holds on the specified snapshot.
*
- * On success, *holdsp will be set to a nvlist which the caller must free.
+ * On success, *holdsp will be set to an nvlist which the caller must free.
* The keys are the names of the holds, and the value is the creation time
* of the hold (uint64) in seconds since the epoch.
*/