From 43183fe6b259005174a424828b2fbb06bfeb4a90 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 24 Jul 2020 14:17:12 +0200 Subject: Whoops --- src/features/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features') 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; -- cgit v1.2.3