From b0bb8fb6f9c3d54d230b785695a5bceab7e3f320 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 23 Nov 2010 20:39:55 +0100 Subject: libmount: fix utab file and dir modes, add new debug messages Signed-off-by: Karel Zak --- shlibs/mount/src/context_mount.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shlibs/mount/src/context_mount.c') diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c index 7b0a9c126..960126d68 100644 --- a/shlibs/mount/src/context_mount.c +++ b/shlibs/mount/src/context_mount.c @@ -385,6 +385,8 @@ static int do_mount_by_pattern(mnt_context *cxt, const char *pattern) */ char *p, *p0; + DBG(CXT, mnt_debug_h(cxt, "tring mount by FS pattern list")); + p0 = p = strdup(pattern); if (!p) return -ENOMEM; @@ -405,6 +407,8 @@ static int do_mount_by_pattern(mnt_context *cxt, const char *pattern) /* * try /etc/filesystems and /proc/filesystems */ + DBG(CXT, mnt_debug_h(cxt, "tring mount by filesystems lists")); + rc = mnt_get_filesystems(&filesystems, neg ? pattern : NULL); if (rc) return rc; -- cgit v1.2.3-55-g7522