From 3b87431a699eba8fb1afabd6fd73bf1b31414f2d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 22 Jul 1998 18:30:16 +0000 Subject: (human_readable): amt -> damt, to fix typo when computing which power to use after overflow occurs during multiplication. From Paul Eggert. --- lib/human.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3-70-g09d2