summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab.c
diff options
context:
space:
mode:
authorKarel Zak2011-04-27 17:17:16 +0200
committerKarel Zak2011-04-27 17:17:16 +0200
commit0983b5f7e67c23c553d7c14ac8d1788b1dc19890 (patch)
tree34bc64d782070609c4d98a3328a6c1acfb39bbce /shlibs/mount/src/tab.c
parentlib: [tt.c] support fixed width and multiple tt_print_table() calls (diff)
downloadkernel-qcow2-util-linux-0983b5f7e67c23c553d7c14ac8d1788b1dc19890.tar.gz
kernel-qcow2-util-linux-0983b5f7e67c23c553d7c14ac8d1788b1dc19890.tar.xz
kernel-qcow2-util-linux-0983b5f7e67c23c553d7c14ac8d1788b1dc19890.zip
libmount: minor fix to mnt_tabdiff_*
- tabdiff has to support NULL fs->source - disable some debug messages Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/tab.c')
-rw-r--r--shlibs/mount/src/tab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/mount/src/tab.c b/shlibs/mount/src/tab.c
index 5c3c7994b..2a6a2355c 100644
--- a/shlibs/mount/src/tab.c
+++ b/shlibs/mount/src/tab.c
@@ -102,6 +102,7 @@ int mnt_reset_table(struct libmnt_table *tb)
mnt_free_fs(fs);
}
+ tb->nents = 0;
return 0;
}