summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_parse.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/tab_parse.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/tab_parse.c')
-rw-r--r--shlibs/mount/src/tab_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shlibs/mount/src/tab_parse.c b/shlibs/mount/src/tab_parse.c
index cd4e34897..43a2bf192 100644
--- a/shlibs/mount/src/tab_parse.c
+++ b/shlibs/mount/src/tab_parse.c
@@ -244,7 +244,7 @@ enomem:
/*
* Returns {m,fs}tab or mountinfo file format (MNT_FMT_*)
*
- * Note that we aren't tring to guess utab file format, because this file has
+ * Note that we aren't trying to guess utab file format, because this file has
* to be always parsed by private libmount routines with explicitly defined
* format.
*
@@ -350,7 +350,7 @@ int mnt_table_parse_stream(struct libmnt_table *tb, FILE *f, const char *filenam
DBG(TAB, mnt_debug_h(tb, "%s: start parsing", filename));
/* necessary for /proc/mounts only, the /proc/self/mountinfo
- * parser sets propertly the flag
+ * parser sets the flag properly
*/
if (filename && strcmp(filename, _PATH_PROC_MOUNTS) == 0)
flags = MNT_FS_KERNEL;
@@ -422,7 +422,7 @@ static int mnt_table_parse_dir(struct libmnt_table *tb, const char *dirname)
DIR *dir = NULL;
struct dirent **namelist = NULL;
- /* TODO: it would be nice to have a scandir() implementaion that
+ /* TODO: it would be nice to have a scandir() implementation that
* is able to use already opened directory */
n = scandir(dirname, &namelist, NULL, versionsort);
if (n <= 0)