Skip to content

Commit

Permalink
Fix renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlansneff committed Apr 22, 2019
1 parent ecdcab5 commit 7940aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ pub fn poll_oneoff(
unimplemented!()
}
pub fn proc_exit(ctx: &mut Ctx, code: __wasi_exitcode_t) -> Result<(), ExitCode> {
debug!("wasi::proc_exit, {}", rval);
debug!("wasi::proc_exit, {}", code);
Err(ExitCode { code })
}
pub fn proc_raise(ctx: &mut Ctx, sig: __wasi_signal_t) -> __wasi_errno_t {
Expand Down

0 comments on commit 7940aa7

Please sign in to comment.