aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-10-08 22:23:23 +0200
committerTom Rini2020-10-22 09:54:54 -0400
commitdcf16721c1df2a97b7836677d704e49d6cdf455f (patch)
treeebfdbb0148b693c0d833dfab04f1470218bf0f2f /lib
parentcfec8d36cebb8668c02ec2ff6aafa79ee382ce3c (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/display_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/display_options.c b/lib/display_options.c
index ea9977cc180..b2025eeb5cf 100644
--- a/lib/display_options.c
+++ b/lib/display_options.c
@@ -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;