summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_update.c
diff options
context:
space:
mode:
authorKarel Zak2011-05-31 18:01:36 +0200
committerKarel Zak2011-05-31 18:01:36 +0200
commit5c60a0eab5155043f58fa88909d89e0b06cad2f8 (patch)
treec79eb414ba0d88e67c7bae2d21283f901e2f190d /shlibs/mount/src/tab_update.c
parentlibblkid: use sysfs_init() more carefully (diff)
downloadkernel-qcow2-util-linux-5c60a0eab5155043f58fa88909d89e0b06cad2f8.tar.gz
kernel-qcow2-util-linux-5c60a0eab5155043f58fa88909d89e0b06cad2f8.tar.xz
kernel-qcow2-util-linux-5c60a0eab5155043f58fa88909d89e0b06cad2f8.zip
libmount: add mnt_table_is_mounted()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab_update.c')
-rw-r--r--shlibs/mount/src/tab_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c
index 5abb566b5..9817f202b 100644
--- a/shlibs/mount/src/tab_update.c
+++ b/shlibs/mount/src/tab_update.c
@@ -410,7 +410,7 @@ static int set_fs_root(struct libmnt_fs *result, struct libmnt_fs *fs, unsigned
mnt_fs_set_fstype(result, mnt_fs_get_fstype(src_fs));
/* on btrfs the subvolume is used as fs-root in
- * /proc/self/mountinfo, so we have get the original subvolume
+ * /proc/self/mountinfo, so we have to get the original subvolume
* name from src_fs and prepend the subvolume name to the
* fs-root path
*/