diff options
Diffstat (limited to 'shlibs/mount/src/context_mount.c')
-rw-r--r-- | shlibs/mount/src/context_mount.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |