diff options
author | Karel Zak | 2011-04-27 17:17:16 +0200 |
---|---|---|
committer | Karel Zak | 2011-04-27 17:17:16 +0200 |
commit | 0983b5f7e67c23c553d7c14ac8d1788b1dc19890 (patch) | |
tree | 34bc64d782070609c4d98a3328a6c1acfb39bbce /shlibs/mount/src/tab.c | |
parent | lib: [tt.c] support fixed width and multiple tt_print_table() calls (diff) | |
download | kernel-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.c | 1 |
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; } |