mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
fhandler_proc.cc(format_proc_cpuinfo): use _small_sprintf %X for microcode
microcode is unsigned long long, printed by _small_sprintf using %x; Cygwin32 used last 4 bytes of microcode for next field MHz, printing 0; use correct _small_sprintf format %X to print microcode, producing correct MHz value under Cygwin32
This commit is contained in:
parent
c92a51fcec
commit
29e0fc3a3e
@ -833,7 +833,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
|
||||
"model\t\t: %d\n"
|
||||
"model name\t: %s\n"
|
||||
"stepping\t: %d\n"
|
||||
"microcode\t: 0x%x\n"
|
||||
"microcode\t: 0x%X\n"
|
||||
"cpu MHz\t\t: %d.000\n",
|
||||
family,
|
||||
model,
|
||||
|
Loading…
x
Reference in New Issue
Block a user