]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
elf2efi: fix a typo
authorMike Yuan <me@yhndnzj.com>
Thu, 21 Sep 2023 17:06:55 +0000 (01:06 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 Sep 2023 17:16:11 +0000 (19:16 +0200)
tools/elf2efi.py

index c683c120762fd2bc1d6fd0cdf7ef334ecdc9a74b..39026e1b424d9099d50aac68122629e98554611a 100755 (executable)
@@ -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()