Skip to content

Commit

Permalink
add an xlog_error
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 13, 2023
1 parent f917a18 commit bbb885f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libwasi/wasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3284,6 +3284,8 @@ wasi_instance_create(struct wasi_instance **instp) NO_THREAD_SAFETY_ANALYSIS
}
ret = set_nonblocking(i, true, NULL);
if (ret != 0) {
xlog_error("set_nonblocking failed on fd %d with %d",
i, ret);
goto fail;
}
}
Expand Down

0 comments on commit bbb885f

Please sign in to comment.