aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2020-07-24 14:17:12 +0200
committerMarvin Borner2020-07-24 14:17:12 +0200
commit43183fe6b259005174a424828b2fbb06bfeb4a90 (patch)
treebe2b925f7b4a15a9a9efca22e8cb858038de107a
parent149fe112b9c6b24f33a50da53c4e1faaa2deaaca (diff)
Whoops
-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 ba66033..a90aaa9 100644
--- a/src/features/fs.c
+++ b/src/features/fs.c
@@ -68,7 +68,7 @@ void *read_file(struct inode *in)
// Single indirect pointer
if (num_blocks > 12) {
- indirect = in->block[13];
+ indirect = in->block[12];
}
int blocknum = 0;