added in more random structure protection for Lx cache

This commit is contained in:
Harald Hope 2018-09-10 16:26:05 -07:00
parent d2b452218c
commit 7db2ab4dcf

2
inxi
View file

@ -7397,7 +7397,7 @@ sub cpu_cache_dmi {
elsif (!$id && $value =~ /^Configuration:.* Level.*([1-3])\b/){
$id = "L$1";
}
elsif ($id && $value =~ /^Installed Size: (.*B)$/){
elsif ($id && $value =~ /^Installed Size:\s+(.*B)$/){
$amount = main::translate_size($1);
}
if ($id && $amount){