Skip to content

Commit

Permalink
chore: Fix compile errors in sock_shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Mar 6, 2023
1 parent 873b42e commit e0a3631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/src/syscalls/wasix/sock_shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::syscalls::*;
/// ## Parameters
///
/// * `how` - Which channels on the socket to shut down.
#[instrument(level = "debug", skip-all, fields(sock), ret)]
#[instrument(level = "debug", skip_all, fields(sock), ret)]
pub fn sock_shutdown(mut ctx: FunctionEnvMut<'_, WasiEnv>, sock: WasiFd, how: SdFlags) -> Errno {
let both = __WASI_SHUT_RD | __WASI_SHUT_WR;
let how = match how {
Expand Down

0 comments on commit e0a3631

Please sign in to comment.