diff options
| author | Heinrich Schuchardt <[email protected]> | 2020-10-08 22:23:23 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-10-22 09:54:54 -0400 |
| commit | dcf16721c1df2a97b7836677d704e49d6cdf455f (patch) | |
| tree | ebfdbb0148b693c0d833dfab04f1470218bf0f2f /lib/display_options.c | |
| parent | cfec8d36cebb8668c02ec2ff6aafa79ee382ce3c (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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'lib/display_options.c')
| -rw-r--r-- | lib/display_options.c | 2 |
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; |
