summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/utils.c
diff options
context:
space:
mode:
authorPetr Uzel2011-03-31 00:01:33 +0200
committerKarel Zak2011-03-31 00:01:33 +0200
commit6ad929bbac6b044bff22dbe4be2d11191e7efec8 (patch)
tree28044e2c680ff688da9a20f3d74dfe278a113d8b /shlibs/mount/src/utils.c
parentlibmount: fix memory leak in cache (diff)
downloadkernel-qcow2-util-linux-6ad929bbac6b044bff22dbe4be2d11191e7efec8.tar.gz
kernel-qcow2-util-linux-6ad929bbac6b044bff22dbe4be2d11191e7efec8.tar.xz
kernel-qcow2-util-linux-6ad929bbac6b044bff22dbe4be2d11191e7efec8.zip
libmount: fix some typos and copy&paste mistakes in comments
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Diffstat (limited to 'shlibs/mount/src/utils.c')
-rw-r--r--shlibs/mount/src/utils.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/shlibs/mount/src/utils.c b/shlibs/mount/src/utils.c
index 356c61069..27832b36a 100644
--- a/shlibs/mount/src/utils.c
+++ b/shlibs/mount/src/utils.c
@@ -202,11 +202,11 @@ int mnt_fstype_is_netfs(const char *type)
/**
* mnt_match_fstype:
* @type: filesystem type
- * @pattern: filesystem name or comma delimitted list of names
+ * @pattern: filesystem name or comma delimited list of names
*
* The @pattern list of filesystem can be prefixed with a global
* "no" prefix to invert matching of the whole list. The "no" could
- * also used for individual items in the @pattern list. So,
+ * also be used for individual items in the @pattern list. So,
* "nofoo,bar" has the same meaning as "nofoo,nobar".
*
* "bar" : "nofoo,bar" -> False (global "no" prefix)
@@ -284,10 +284,10 @@ static int check_option(const char *haystack, size_t len,
/**
* mnt_match_options:
* @optstr: options string
- * @pattern: comma delimitted list of options
+ * @pattern: comma delimited list of options
*
* The "no" could used for individual items in the @options list. The "no"
- * prefix does not have a global meanning.
+ * prefix does not have a global meaning.
*
* Unlike fs type matching, nonetdev,user and nonetdev,nouser have
* DIFFERENT meanings; each option is matched explicitly as specified.
@@ -556,7 +556,7 @@ static int try_write(const char *filename)
* If the file does not exist and @writable argument is not NULL then it will
* try to create the file
*
- * Returns: 1 if /etc/mtab is a reqular file, and 0 in case of error (check
+ * Returns: 1 if /etc/mtab is a regular file, and 0 in case of error (check
* errno for more details).
*/
int mnt_has_regular_mtab(const char **mtab, int *writable)
@@ -602,10 +602,9 @@ done:
* If the file does not exist and @writable argument is not NULL then it will
* try to create the directory (e.g. /dev/.mount) and the file.
*
- * Returns: 1 if /dev/.mount/utab is a reqular file, and 0 in case of
+ * Returns: 1 if /dev/.mount/utab is a regular file, and 0 in case of
* error (check errno for more details).
*/
-
int mnt_has_regular_utab(const char **utab, int *writable)
{
struct stat st;