From 47abd8433eaaa50ae8358b6230842be6c5bc9f7f Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 18 Jul 2017 01:39:47 +0200 Subject: [PATCH] Change error prefix in C code from "ERROR" to "PANIC" That's what Lua use for this kind of error. --- luapak/wrapper_tmpl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luapak/wrapper_tmpl.lua b/luapak/wrapper_tmpl.lua index 242e57d..4f9cb75 100644 --- a/luapak/wrapper_tmpl.lua +++ b/luapak/wrapper_tmpl.lua @@ -299,7 +299,7 @@ static int pushargs (lua_State *L) { int main (int argc, char *argv[]) { lua_State *L = luaL_newstate(); if (L == NULL) { - lua_writestringerror("%s\n", "ERROR: not enough memory"); + lua_writestringerror("%s\n", "PANIC: not enough memory"); return EXIT_FAILURE; }