Skip to content

Commit

Permalink
Mini bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKaiser committed Jul 21, 2022
1 parent e6aeef0 commit 30a4ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbc-bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ GetARMStepping() {
# into 'Stepping' like lscpu does (the latter only showing info for cpu0 so partially
# useless on systems with different CPU clusters)
if [ -n "${ARMStepping}" ]; then
echo "r$(awk -Wposix '{printf("%d\n", $1)}' <<<${ARMStepping[$(( $1 * 2 ))]})p${ARMStepping[$(( $(( $1 * 2 )) + 1 ))]}"
echo "r$(awk -Wposix '{printf("%d", $1)}' <<<${ARMStepping[$(( $1 * 2 ))]})p${ARMStepping[$(( $(( $1 * 2 )) + 1 ))]}"
fi
} # GetARMStepping

Expand Down

0 comments on commit 30a4ab8

Please sign in to comment.