From: Mike Yuan Date: Thu, 21 Sep 2023 17:06:55 +0000 (+0800) Subject: elf2efi: fix a typo X-Git-Tag: v255-rc1~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1365355d14965e849d71b6b43536686aa04f9a60;p=thirdparty%2Fsystemd.git elf2efi: fix a typo --- diff --git a/tools/elf2efi.py b/tools/elf2efi.py index c683c120762..39026e1b424 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()