diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-22 18:30:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-22 18:30:16 +0000 |
commit | 3b87431a699eba8fb1afabd6fd73bf1b31414f2d (patch) | |
tree | 59bd78d47aaf217b80d0dd8e05184aa723da1ec5 /lib | |
parent | d09816b054a8bb8b26057fcf0f607670fc6c8fe5 (diff) | |
download | coreutils-3b87431a699eba8fb1afabd6fd73bf1b31414f2d.tar.xz |
(human_readable): amt -> damt, to fix typo when
computing which power to use after overflow occurs during
multiplication.
From Paul Eggert.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/human.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/human.c b/lib/human.c index 37577234a..d03a2e4e4 100644 --- a/lib/human.c +++ b/lib/human.c @@ -158,7 +158,7 @@ human_readable (uintmax_t n, char *buf, e *= base; power++; } - while (e * base <= amt && power < sizeof suffixes - 1); + while (e * base <= damt && power < sizeof suffixes - 1); damt /= e; |