diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xfuncs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 140c7bb6f..2215bb8df 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -323,7 +323,8 @@ void smart_ulltoa5(unsigned long long ul, char buf[5]) | |||
323 | } | 323 | } |
324 | buf[2] = "0123456789"[v]; | 324 | buf[2] = "0123456789"[v]; |
325 | // see http://en.wikipedia.org/wiki/Tera | 325 | // see http://en.wikipedia.org/wiki/Tera |
326 | buf[3] = " kMGTPEZY"[idx]; | 326 | // (small letters stand out better versus numbers) |
327 | buf[3] = " kmgtpezy"[idx]; | ||
327 | } | 328 | } |
328 | buf[4] = '\0'; | 329 | buf[4] = '\0'; |
329 | } | 330 | } |