diff options
| author | Dan Nelson <dnelson_1901@yahoo.com> | 2021-06-14 19:28:16 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2021-06-20 19:10:21 +0000 |
| commit | 659f77766031145ff2af2fc56da210cfbb6d249f (patch) | |
| tree | a9da0210124189714603f0cb2f0632fdaf48d858 | |
| parent | 765c6eb3953c0e9e95543bfb9e7352772ace030c (diff) | |
cpucontrol: fix extended signature matching code to avoid fallthough
PR: 256502
(cherry picked from commit 87799c5f85dc0aed7e53ca841504e3b2ffc88498)
| -rw-r--r-- | usr.sbin/cpucontrol/intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cpucontrol/intel.c b/usr.sbin/cpucontrol/intel.c index dfe86f7185c6..f4700898d5eb 100644 --- a/usr.sbin/cpucontrol/intel.c +++ b/usr.sbin/cpucontrol/intel.c @@ -242,8 +242,8 @@ no_table: (flags & ext_table[i].cpu_flags) != 0) goto matched; } - } else - goto fail; + } + goto fail; matched: if (revision >= fw_header->revision) { |
