From d7c6aa5a9ee16d6036a898531b87bf5234ae7ddf Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 22 Apr 2020 15:24:27 +0200 Subject: [PATCH] Fix ext2 bug --- src/fs/ext2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/ext2fs.c b/src/fs/ext2fs.c index b703e922..a2917a5a 100644 --- a/src/fs/ext2fs.c +++ b/src/fs/ext2fs.c @@ -205,7 +205,7 @@ static int ext2fs_parse_dirent(struct ext2fs_dir_entry *dir, struct ext2fs_file_ char *cpy = path; - if (*cpy = '/') + if (*cpy == '/') cpy++; int token_count;