Fix missing sentinel in mkdir

This commit is contained in:
Jarred Sumner
2022-03-17 19:18:15 -07:00
parent 881a3b28a7
commit 2a3438186a

View File

@@ -2932,6 +2932,8 @@ pub const NodeFS = struct {
}
}
working_mem[len] = 0;
// Our final directory will not have a trailing separator
// so we have to create it once again
switch (Syscall.mkdir(working_mem[0..len :0], args.mode)) {