stand/interp_lua: correct errorr => error

This commit is contained in:
Kyle Evans 2018-03-11 04:10:18 +00:00
parent 7904418f8e
commit bef6cd493c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330757

View File

@ -123,7 +123,7 @@ interp_init(void)
if (interp_include(filename) != 0) {
const char *errstr = lua_tostring(luap, -1);
errstr = errstr == NULL ? "unknown" : errstr;
printf("Startup errorr in %s:\nLUA ERROR: %s.\n", filename, errstr);
printf("Startup error in %s:\nLUA ERROR: %s.\n", filename, errstr);
lua_pop(luap, 1);
}
}