aboutsummaryrefslogtreecommitdiff
path: root/src/features/fs.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-05 18:28:26 +0200
committerMarvin Borner2020-08-05 18:28:26 +0200
commit4af62bb53676b7f721b46cabee78cac3a557e924 (patch)
treeb9c7e615c3226d9822c22cdb6cdb326f379db73f /src/features/fs.c
parentb7f59b28b380d55f9e7abd8e450f1f9c7f050221 (diff)
Some proc things
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++)
;