diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2025-01-06 14:40:51 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2025-01-06 14:40:58 +0100 |
commit | 914e743dc4d0d739a981b58de6eb1d34cea6e0bf (patch) | |
tree | b92fe3f908d3dd6aa6de04dd7817ddc7abd91458 /tools | |
parent | 37a8f1623592efbcb249d8ca0acd0c6167d37ed8 (diff) | |
download | liberty-914e743dc4d0d739a981b58de6eb1d34cea6e0bf.tar.gz liberty-914e743dc4d0d739a981b58de6eb1d34cea6e0bf.tar.xz liberty-914e743dc4d0d739a981b58de6eb1d34cea6e0bf.zip |
wdye: don't add the script path on error
Lua already provides this for us, including the line number.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wdye/wdye.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wdye/wdye.c b/tools/wdye/wdye.c index ece3038..ed4f128 100644 --- a/tools/wdye/wdye.c +++ b/tools/wdye/wdye.c @@ -1312,7 +1312,7 @@ main (int argc, char *argv[]) if (luaL_loadfile (g.L, path) || lua_pcall (g.L, 0, 0, -2)) { - print_error ("%s: %s", path, lua_tostring (g.L, -1)); + print_error ("%s", lua_tostring (g.L, -1)); lua_pop (g.L, 1); lua_close (g.L); return 1; |