Merge branch 'master' into feature/vfs

This commit is contained in:
Mackenzie Clark
2019-03-13 14:25:14 -07:00
4 changed files with 10 additions and 6 deletions

View File

@@ -42,8 +42,8 @@ pub fn ___syscall5(ctx: &mut Ctx, which: c_int, mut varargs: VarArgs) -> c_int {
emscripten_memory_pointer!(ctx.memory(0), urandom_file_offset) as *const i8;
let fd = unsafe { open(raw_pointer_to_urandom_file, flags, mode) };
debug!(
"=> pathname: {}, flags: {}, mode: {} = fd: {}\npath: {}",
pathname, flags, mode, fd, s
"=> pathname: {}, flags: {}, mode: {} = fd: {}",
pathname, flags, mode, fd
);
fd
}