summaryrefslogtreecommitdiffstats
path: root/tools/elf2efi.py
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-09-21 19:06:55 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-09-21 19:16:11 +0200
commit1365355d14965e849d71b6b43536686aa04f9a60 (patch)
treed9f588ada1f431746f6c60ef6c092ce8087827c2 /tools/elf2efi.py
parentmeson: relax ukify requirements (diff)
downloadsystemd-1365355d14965e849d71b6b43536686aa04f9a60.tar.xz
systemd-1365355d14965e849d71b6b43536686aa04f9a60.zip
elf2efi: fix a typo
Diffstat (limited to 'tools/elf2efi.py')
-rwxr-xr-xtools/elf2efi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/elf2efi.py b/tools/elf2efi.py
index c683c12076..39026e1b42 100755
--- a/tools/elf2efi.py
+++ b/tools/elf2efi.py
@@ -482,7 +482,7 @@ def elf2efi(args: argparse.Namespace):
"EM_X86_64": 0x8664,
}.get(elf["e_machine"])
if pe_arch is None:
- raise RuntimeError(f"Unuspported ELF arch {elf['e_machine']}")
+ raise RuntimeError(f"Unsupported ELF arch {elf['e_machine']}")
coff = PeCoffHeader()
opt = PeOptionalHeader32() if elf.elfclass == 32 else PeOptionalHeader32Plus()