summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_parse.c
diff options
context:
space:
mode:
authorKarel Zak2010-07-09 11:15:08 +0200
committerKarel Zak2011-01-03 12:28:39 +0100
commit0b3953a33d492336a6d9aa8f7ef200e6dc262281 (patch)
treece28b76c58a180af280eaecd72e36c53510f4a56 /shlibs/mount/src/tab_parse.c
parentfindmnt: add /etc/fstab.d support (diff)
downloadkernel-qcow2-util-linux-0b3953a33d492336a6d9aa8f7ef200e6dc262281.tar.gz
kernel-qcow2-util-linux-0b3953a33d492336a6d9aa8f7ef200e6dc262281.tar.xz
kernel-qcow2-util-linux-0b3953a33d492336a6d9aa8f7ef200e6dc262281.zip
libmount: add mnt_fs_get_root()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab_parse.c')
-rw-r--r--shlibs/mount/src/tab_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/tab_parse.c b/shlibs/mount/src/tab_parse.c
index e7cc7ef49..06bb64862 100644
--- a/shlibs/mount/src/tab_parse.c
+++ b/shlibs/mount/src/tab_parse.c
@@ -168,8 +168,8 @@ static int mnt_parse_mountinfo_line(mnt_fs *fs, char *s)
next_word_skip(&s);
/* MOUNTROOT */
- fs->mntroot = next_word(&s);
- if (!fs->mntroot)
+ fs->root = next_word(&s);
+ if (!fs->root)
return 1;
/* TARGET (mountpoit) */