diff options
Diffstat (limited to 'futility/cmd_vbutil_kernel.c')
-rw-r--r-- | futility/cmd_vbutil_kernel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/futility/cmd_vbutil_kernel.c b/futility/cmd_vbutil_kernel.c index cdd44923..0f6502a7 100644 --- a/futility/cmd_vbutil_kernel.c +++ b/futility/cmd_vbutil_kernel.c @@ -299,7 +299,8 @@ static int do_vbutil_kernel(int argc, char *argv[]) if ((!strncasecmp(optarg, "x86", 3)) || (!strcasecmp(optarg, "amd64"))) arch = ARCH_X86; - else if ((!strcasecmp(optarg, "arm")) || + /* check the first 3 characters to also detect arm64 */ + else if ((!strncasecmp(optarg, "arm", 3)) || (!strcasecmp(optarg, "aarch64"))) arch = ARCH_ARM; else if (!strcasecmp(optarg, "mips")) |