diff options
-rw-r--r-- | src/bindfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindfs.c b/src/bindfs.c index 401a0ae..34067eb 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -410,6 +410,8 @@ static int bindfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, int result = 0; long pc_ret; + path = process_path(path); + pc_ret = pathconf(path, _PC_NAME_MAX); if (pc_ret < 0) { DPRINTF("pathconf failed: %s (%d)", strerror(errno), errno); |