aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkelf.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkelf.lua b/mkelf.lua
index 51927d0..d7e801d 100644
--- a/mkelf.lua
+++ b/mkelf.lua
@@ -60,13 +60,13 @@ local function setup_sections(state)
error(("section #%d must be a table"):format(i), 2)
end
if not s.name then
- error(("name is required in section"):format(i), 2)
+ error(("name is required in section #%d"):format(i), 2)
end
if not s.type then
- error(("type is required in section"):format(i), 2)
+ error(("type is required in section #%d"):format(i), 2)
end
if not s.flags then
- error(("flags required in section"):format(i), 2)
+ error(("flags required in section #%d"):format(i), 2)
end
table.insert(state.scopts, s)
end