1
0
Fork 0
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:
The Tumultuous Unicorn Of Darkness 2024-07-31 14:32:15 +02:00
commit 543c3ac17d
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
2 changed files with 9 additions and 9 deletions

View file

@ -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)