Replace some trivial uses of fprintf() with fputs.
This commit is contained in:
@@ -46,8 +46,9 @@ void lj_vmevent_call(lua_State *L, ptrdiff_t argbase)
|
||||
if (LJ_UNLIKELY(status)) {
|
||||
/* Really shouldn't use stderr here, but where else to complain? */
|
||||
L->top--;
|
||||
fprintf(stderr, "VM handler failed: %s\n",
|
||||
tvisstr(L->top) ? strVdata(L->top) : "?");
|
||||
fputs("VM handler failed: ", stderr);
|
||||
fputs(tvisstr(L->top) ? strVdata(L->top) : "?", stderr);
|
||||
fputc('\n', stderr);
|
||||
}
|
||||
hook_restore(g, oldh);
|
||||
if (g->vmevmask != VMEVENT_NOCACHE)
|
||||
|
||||
Reference in New Issue
Block a user