bsd fixes

This commit is contained in:
inxi-svn 2014-05-01 23:21:28 +00:00
parent b7488ca5e6
commit 488688a832

3
inxi
View file

@ -3909,8 +3909,9 @@ get_cpu_data_bsd()
exit
}
}
/^machdep/ {
( bMach != "true" ) && /^machdep/ {
FS=":"
bMach="true"
}
/^hw.cpufrequency/ {
cpuClock = $NF / 1000000