mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-03 11:01:30 +00:00
Fix scanf() format for 'logical_cpu' in cpuid_deserialize_raw_data_internal()
logical_cpu is an uint16_t, so SCNu16 is the correct format. It was providing strange values with SCNi16, like with the Intel® Xeon® Platinum 8280 dump.
This commit is contained in:
parent
25c83f0d0b
commit
543c3ac17d
2 changed files with 9 additions and 9 deletions
|
@ -2751,8 +2751,8 @@ general
|
|||
7
|
||||
6
|
||||
85
|
||||
26
|
||||
46
|
||||
28
|
||||
56
|
||||
32
|
||||
32
|
||||
1024
|
||||
|
@ -2768,9 +2768,9 @@ general
|
|||
64
|
||||
64
|
||||
-1
|
||||
26
|
||||
26
|
||||
26
|
||||
28
|
||||
28
|
||||
28
|
||||
1
|
||||
0
|
||||
128 (non-authoritative)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue