(human_readable): amt -> damt, to fix typo when
authorJim Meyering <jim@meyering.net>
Wed, 22 Jul 1998 18:30:16 +0000 (18:30 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 22 Jul 1998 18:30:16 +0000 (18:30 +0000)
computing which power to use after overflow occurs during
multiplication.

From Paul Eggert.

lib/human.c

index 3757723..d03a2e4 100644 (file)
@@ -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;