mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
stand/interp_lua: correct errorr => error
This commit is contained in:
parent
7904418f8e
commit
bef6cd493c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue