aboutsummaryrefslogtreecommitdiff
path: root/src/features/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/fs.c')
-rw-r--r--src/features/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/fs.c b/src/features/fs.c
index 1eec30e..ab2a6eb 100644
--- a/src/features/fs.c
+++ b/src/features/fs.c
@@ -97,8 +97,8 @@ void *read_file(char *path)
path++;
u32 current_inode = EXT2_ROOT;
+ int i;
while (1) {
- int i;
for (i = 0; path[i] != '/' && path[i] != '\0'; i++)
;