lib: print_freq() should output kHz not KHz
In the International System of Units (SI) the prefix kilo is abbreviated as 'k' not 'K'. 'K' is the symbol for Kelvin. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Tom Rini
parent
cfec8d36ce
commit
dcf16721c1
@@ -54,7 +54,7 @@ void print_freq(uint64_t freq, const char *s)
|
||||
{
|
||||
unsigned long m = 0;
|
||||
uint32_t f;
|
||||
static const char names[] = {'G', 'M', 'K'};
|
||||
static const char names[] = {'G', 'M', 'k'};
|
||||
unsigned long d = 1e9;
|
||||
char c = 0;
|
||||
unsigned int i;
|
||||
|
||||
Reference in New Issue
Block a user