summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
authordzwdz2021-09-16 06:42:07 +0000
committerdzwdz2021-09-16 06:42:07 +0000
commit267a85f9ef709ccbefe5ae0ccbb306bd21921418 (patch)
treef5ed73b0fdb5500bc81ed790c69d8b2764f0ad32 /src/init/main.c
parent206ca77636cca94d14d7486a7a0e2679bf107a28 (diff)
implement output from vfs calls
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);