aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/decryptcore
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-04-23 17:30:03 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-04-23 17:30:03 +0000
commit401ae7ca67d6d7c99645a1f18bf9ebd3d87930b7 (patch)
tree208ce5066419e6ddefcad5eb42b5d1235a556b56 /sbin/decryptcore
parent1c2fa9150dab6d3f57f3ad9dacc8cd985bda70ab (diff)
downloadsrc-401ae7ca67d6d7c99645a1f18bf9ebd3d87930b7.tar.gz
src-401ae7ca67d6d7c99645a1f18bf9ebd3d87930b7.zip
acpi_ec(4): Don't probe erroneously if success occurred
In r360131, acpi_ec probe was changed to not clobber an error status prior to several error cases that did not explicitly set the error variable before goto'ing the exit path. However, I did not notice that the error variable was not set to success in the success path. That caused all successful probes to fail, which is obviously undesirable. PR: 245778 Reported by: Neel Chauhan <neel AT neelc.org>, Evilham <contact AT evilham.com> Tested by: Evilham X-MFC-With: r360131
Notes
Notes: svn path=/head/; revision=360224
Diffstat (limited to 'sbin/decryptcore')
0 files changed, 0 insertions, 0 deletions