summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/tab_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/src/tab_parse.c')
-rw-r--r--shlibs/mount/src/tab_parse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shlibs/mount/src/tab_parse.c b/shlibs/mount/src/tab_parse.c
index be85d4711..7419f3742 100644
--- a/shlibs/mount/src/tab_parse.c
+++ b/shlibs/mount/src/tab_parse.c
@@ -360,7 +360,8 @@ int mnt_table_parse_stream(struct libmnt_table *tb, FILE *f, const char *filenam
assert(f);
assert(filename);
- DBG(TAB, mnt_debug_h(tb, "%s: start parsing", filename));
+ DBG(TAB, mnt_debug_h(tb, "%s: start parsing (%d entries)",
+ filename, mnt_table_get_nents(tb)));
/* necessary for /proc/mounts only, the /proc/self/mountinfo
* parser sets the flag properly
@@ -389,7 +390,8 @@ int mnt_table_parse_stream(struct libmnt_table *tb, FILE *f, const char *filenam
}
}
- DBG(TAB, mnt_debug_h(tb, "%s: stop parsing", filename));
+ DBG(TAB, mnt_debug_h(tb, "%s: stop parsing (%d entries)",
+ filename, mnt_table_get_nents(tb)));
return 0;
err:
DBG(TAB, mnt_debug_h(tb, "%s: parse error (rc=%d)", filename, rc));