aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nelson <dnelson_1901@yahoo.com>2021-06-14 19:28:16 +0000
committerMark Johnston <markj@FreeBSD.org>2021-06-20 19:11:18 +0000
commit5fb914cdc18acf9070002af69832973a6472f7ac (patch)
tree378ada69052edbb18d36396be81a815bb0d8374b
parent95f8bb6d06d9fb65dc382423485f2f636ec20375 (diff)
downloadsrc-5fb914cdc18acf9070002af69832973a6472f7ac.tar.gz
src-5fb914cdc18acf9070002af69832973a6472f7ac.zip
cpucontrol: fix extended signature matching code to avoid fallthough
PR: 256502 (cherry picked from commit 87799c5f85dc0aed7e53ca841504e3b2ffc88498)
-rw-r--r--usr.sbin/cpucontrol/intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cpucontrol/intel.c b/usr.sbin/cpucontrol/intel.c
index 8ad1908bd386..e9c9c6ab6f12 100644
--- a/usr.sbin/cpucontrol/intel.c
+++ b/usr.sbin/cpucontrol/intel.c
@@ -262,8 +262,8 @@ no_table:
(flags & ext_table[i].cpu_flags) != 0)
goto matched;
}
- } else
- goto fail;
+ }
+ goto fail;
matched:
if (revision >= fw_header->revision) {