summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c
index bed9ddb..265379d 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -46,7 +46,7 @@ void fs_test(void) {
// try reading
char buf[8];
- int len;
+ int len = 8;
for (int i = 0; i < 8; i++)
buf[i] = '.';
len = _syscall_read(file, buf, len);