Skip to content

Commit

Permalink
remove extra newlines from xlog_trace formats
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 12, 2024
1 parent 43dddd0 commit d648fd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@ exec_const_expr(const struct expr *expr, enum valtype type, struct val *result,
* note that a const expr can't have a loop.
*/
while (IS_RESTARTABLE(ret)) {
xlog_trace("%s: restarting execution of a const expr\n",
xlog_trace("%s: restarting execution of a const expr",
__func__);
ret = exec_expr_continue(ctx);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/instance.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ instance_execute_handle_restart_once(struct exec_context *ctx, int exec_ret)
#if defined(TOYWASM_ENABLE_WASM_THREADS)
suspend_parked(ctx->cluster);
#endif
xlog_trace("%s: restarting execution\n", __func__);
xlog_trace("%s: restarting execution", __func__);
#if defined(TOYWASM_USE_USER_SCHED)
struct sched *sched = ctx->sched;
if (sched != NULL) {
Expand Down
2 changes: 1 addition & 1 deletion libwasi_threads/wasi_threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ runner(void *vp)
ret = exec_thread_start_func(ctx, arg);
while (IS_RESTARTABLE(ret)) {
suspend_parked(ctx->cluster);
xlog_trace("%s: restarting execution\n", __func__);
xlog_trace("%s: restarting execution", __func__);
ret = instance_execute_continue(ctx);
}
done_thread_start_func(ctx, arg, ret);
Expand Down

0 comments on commit d648fd1

Please sign in to comment.