diff --git a/src/machine/system_calls.rs b/src/machine/system_calls.rs index d2779d1a..a4933097 100644 --- a/src/machine/system_calls.rs +++ b/src/machine/system_calls.rs @@ -2137,7 +2137,7 @@ impl MachineState { bytes = string.into_bytes(); } - match stream.write(&bytes) { + match stream.write_all(&bytes) { Ok(_) => { return return_from_clause!(self.last_call, self); }