]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: drop the filename and word "LUA" from errors
authorkevans <kevans@FreeBSD.org>
Wed, 3 Jun 2020 18:29:32 +0000 (18:29 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 3 Jun 2020 18:29:32 +0000 (18:29 +0000)
commit83f4464bb7407c59564e1e209a23ecf8eade29e8
treec61b98216f2b95b656fcf0821aa5586d92c52175
parentc52734174ef75e44964d421e88b96652a4f40712
lualoader: drop the filename and word "LUA" from errors

The filename is nearly always wrong since it's /boot/lua/loader.lua, which
is not useful for diagnostics. The actual errmsg will include a lua filename
if this is relevant.

Dropping "LUA" while we're here because that's almost universally
irrelevant to whatever error follows, unless the error states that it's
actually a lua problem.

Both of these are minor nits that just detract from identifying the
pertinent information.

MFC after: 3 days
stand/common/interp_lua.c