mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Use 'k' as suffix for Kilo
Pointed out by: several.
This commit is contained in:
parent
13b5f02d60
commit
84b4ac514e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121485
@ -679,7 +679,7 @@ putint(n, l, lc, w)
|
||||
}
|
||||
snprintf(b, sizeof(b), "%*d", w, n);
|
||||
if ((int)strlen(b) > w)
|
||||
snprintf(b, sizeof(b), "%*dK", w - 1, n / 1000);
|
||||
snprintf(b, sizeof(b), "%*dk", w - 1, n / 1000);
|
||||
if ((int)strlen(b) > w)
|
||||
snprintf(b, sizeof(b), "%*dM", w - 1, n / 1000000);
|
||||
addstr(b);
|
||||
|
Loading…
Reference in New Issue
Block a user