From edeb6223fed8f5e5b4088d34007c3860c928906a Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 15 Apr 2016 14:10:23 +0200 Subject: tests: make tests more portable due to mtab Signed-off-by: Karel Zak --- libmount/src/tab_parse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmount/src') diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index 45276a057..044e15415 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -1100,7 +1100,9 @@ int __mnt_table_parse_mtab(struct libmnt_table *tb, const char *filename, if (!is_mountinfo(tb)) return 0; +#ifdef USE_LIBMOUNT_SUPPORT_MTAB read_utab: +#endif DBG(TAB, ul_debugobj(tb, "mtab parse: #2 read utab")); if (mnt_table_get_nents(tb) == 0) -- cgit v1.2.3-55-g7522