bios: Fix warning on 64-bit
This fixes an incorrect printf format specifier Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
fbbbdf03b5
commit
2d70220b80
|
@ -903,7 +903,7 @@ static void memspeed(void)
|
|||
end = timer0_value_read();
|
||||
read_speed = (8*MEMTEST_DATA_SIZE*(CONFIG_CLOCK_FREQUENCY/1000000))/(start - end);
|
||||
|
||||
printf("Memspeed Writes: %dMbps Reads: %dMbps\n", write_speed, read_speed);
|
||||
printf("Memspeed Writes: %ldMbps Reads: %ldMbps\n", write_speed, read_speed);
|
||||
}
|
||||
|
||||
int memtest(void)
|
||||
|
|
Loading…
Reference in New Issue