aboutsummaryrefslogtreecommitdiff
path: root/elf/header.lua
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-11 14:43:00 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-11 14:43:00 +0530
commit86aff0adde8ab59a642e26756c5571b0932429a5 (patch)
tree6c4f121042520c2029a2d071c7b2a057912ca79b /elf/header.lua
parent40cec3dade98e91ca89d9f1eae81d53a6b8ddadc (diff)
It's customary to require without parentheses.
Diffstat (limited to 'elf/header.lua')
-rw-r--r--elf/header.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/header.lua b/elf/header.lua
index 751ff9a..3668d4e 100644
--- a/elf/header.lua
+++ b/elf/header.lua
@@ -1,5 +1,5 @@
-local fmt = require("elf.fmt")
-local ec = require("elf.constants")
+local fmt = require "elf.fmt"
+local ec = require "elf.constants"
---@alias Magic [integer, integer, integer, integer]
@@ -64,7 +64,7 @@ function M.normalize(hdropts)
end
return {
- magic = hdropts.magic or { 0x7f, 0x45, 0x4c, 0x46 },
+ magic = hdropts.magic or { 0x7f, 0x45, 0x4c, 0x46, },
class = hdropts.class,
data = hdropts.data,
ident_version = hdropts.ident_version or ec.VERSION,