Skip to content

Commit

Permalink
Merge pull request #273 from stbuehler/fix-ucode-uninitialized-value-…
Browse files Browse the repository at this point in the history
…processor

[uCode] fix uninitialized value in logging of processor index
  • Loading branch information
liske authored Aug 6, 2023
2 parents 37fc12e + e85bfe3 commit 280c1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/lib/NeedRestart/uCode.pm
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ sub nr_ucode_check {
}
$ui->progress_step;

my $nstate = compare_ucode_versions( $debug, $processors{processor}, @nvars );
my $nstate = compare_ucode_versions( $debug, $pid, @nvars );
if ( $nstate > $state ) {
( $state, @vars ) = ( $nstate, @nvars );
}
Expand Down

1 comment on commit 280c1ae

@fritz-fritz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this was the same fix I independently arrived at for some of the output referenced in #249 regarding line 61 uninitialized value... unfortunately it still didn't fix the check.

Please sign in to comment.