summaryrefslogtreecommitdiff
path: root/src/lj_vmevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_vmevent.c')
-rw-r--r--src/lj_vmevent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lj_vmevent.c b/src/lj_vmevent.c
index 5a74a5b0..a92cc5d0 100644
--- a/src/lj_vmevent.c
+++ b/src/lj_vmevent.c
@@ -46,8 +46,9 @@ void lj_vmevent_call(lua_State *L, ptrdiff_t argbase)
46 if (LJ_UNLIKELY(status)) { 46 if (LJ_UNLIKELY(status)) {
47 /* Really shouldn't use stderr here, but where else to complain? */ 47 /* Really shouldn't use stderr here, but where else to complain? */
48 L->top--; 48 L->top--;
49 fprintf(stderr, "VM handler failed: %s\n", 49 fputs("VM handler failed: ", stderr);
50 tvisstr(L->top) ? strVdata(L->top) : "?"); 50 fputs(tvisstr(L->top) ? strVdata(L->top) : "?", stderr);
51 fputc('\n', stderr);
51 } 52 }
52 hook_restore(g, oldh); 53 hook_restore(g, oldh);
53 if (g->vmevmask != VMEVENT_NOCACHE) 54 if (g->vmevmask != VMEVENT_NOCACHE)