summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple/svfs_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/simple/svfs_util.c')
-rw-r--r--source4/ntvfs/simple/svfs_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/simple/svfs_util.c b/source4/ntvfs/simple/svfs_util.c
index 75261f7277..c4e015668c 100644
--- a/source4/ntvfs/simple/svfs_util.c
+++ b/source4/ntvfs/simple/svfs_util.c
@@ -101,7 +101,7 @@ struct svfs_dir *svfs_list_unix(TALLOC_CTX *mem_ctx, struct ntvfs_request *req,
if (!low_name) { continue; }
/* check it matches the wildcard pattern */
- if (ms_fnmatch(low_mask, low_name, PROTOCOL_NT1) != 0) {
+ if (ms_fnmatch_protocol(low_mask, low_name, PROTOCOL_NT1) != 0) {
continue;
}