From 455d73d7194a5fe0a971946a05e89317b17f896f Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Sun, 13 Sep 2020 15:33:34 -0400 Subject: [PATCH] chore: fix error on NDEBUG --- runtime/src/libc/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/libc/syscall.c b/runtime/src/libc/syscall.c index 7f89454..c2090a0 100644 --- a/runtime/src/libc/syscall.c +++ b/runtime/src/libc/syscall.c @@ -584,7 +584,7 @@ wasm_fcntl(uint32_t fd, uint32_t cmd, uint32_t arg_or_lock_ptr) case WF_SETLK: return 0; default: - assert(0); + panic("Unexpected Command"); } }