Skip to content

ac/rgp: fix scanf format when parsing /proc/cpuinfo

Mariusz Ceier requested to merge (removed):scanf_fix into main

scanf "%d" format specifier expects a pointer to an int, while the type of argument is a pointer to uint32_t.

This patch replaces %d with '"%" SCNu32'.

Signed-off-by: Mariusz Ceier mceier+freedesktop@gmail.com

Edited by Mariusz Ceier

Merge request reports