From b86f48da7fc46934d576698bb4f16be9b2a7eaf9 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 26 Sep 2018 23:58:14 +0200 Subject: some bugfixes --- fs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/mount.c') diff --git a/fs/mount.c b/fs/mount.c index 01a90b2..92f9b8a 100644 --- a/fs/mount.c +++ b/fs/mount.c @@ -79,7 +79,7 @@ static char* get_mount_for_path(char *path,mount *mnt) mount *m=&mounts[i]; uint32_t len=check_match(path,m->path); - if(len>best_len&&len==strlen(m->path)) + if(len>best_len)//&&len==strlen(m->path)) { best=i; best_len=len; -- cgit v1.2.3