diff --git a/crates/lib/src/cpu.rs b/crates/lib/src/cpu.rs index 479451d..1e14b9d 100644 --- a/crates/lib/src/cpu.rs +++ b/crates/lib/src/cpu.rs @@ -340,7 +340,12 @@ fn extract_field<'a>(data: &'a [u8], key: &[u8]) -> Option<&'a str> { while p < line.len() && line[p] == b' ' { p += 1; } - return core::str::from_utf8(&line[p..]).ok(); + //remove the frequency in model name as its resolved later + let mut hz = p+1; + while hz < line.len() && line[hz] != b'@' { + hz += 1; + } + return core::str::from_utf8(&line[p..hz-1]).ok(); } }