summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab.c
diff options
context:
space:
mode:
authorKarel Zak2011-02-07 15:17:07 +0100
committerKarel Zak2011-02-07 15:17:07 +0100
commit309139c7dc3d7860ee2d5bf23afcf7b9816b4947 (patch)
tree46c9ca21197031c9d0095420eb6056efc1ef1fc5 /shlibs/mount/src/tab.c
parentlibmount: don't prepare update if syscall failed (diff)
downloadkernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.tar.gz
kernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.tar.xz
kernel-qcow2-util-linux-309139c7dc3d7860ee2d5bf23afcf7b9816b4947.zip
libmount: add and copy FS internal flags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab.c')
-rw-r--r--shlibs/mount/src/tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/tab.c b/shlibs/mount/src/tab.c
index ab4117683..2d2e72fd1 100644
--- a/shlibs/mount/src/tab.c
+++ b/shlibs/mount/src/tab.c
@@ -424,7 +424,7 @@ struct libmnt_fs *mnt_table_find_target(struct libmnt_table *tb, const char *pat
if (!tb || !path)
return NULL;
- DBG(TAB, mnt_debug_h(tb, "lookup target: %s", path));
+ DBG(TAB, mnt_debug_h(tb, "lookup TARGET: %s", path));
/* native @target */
mnt_reset_iter(&itr, direction);
@@ -733,7 +733,7 @@ int test_copy_fs(struct libmnt_test *ts, int argc, char *argv[])
printf("ORIGINAL:\n");
mnt_fs_print_debug(fs, stdout);
- fs = mnt_copy_fs(fs);
+ fs = mnt_copy_fs(NULL, fs);
if (!fs)
goto done;