X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fhuman.c;h=d03a2e4e47829a2e87ae72bb06105bfa404325e9;hb=refs%2Ftags%2FFILEUTILS-3_16x;hp=37577234a1907cd67ce95cfd241152680e987214;hpb=96e78d1f64d7c8d2acc5ad27dc3e73b96ae80585;p=gnulib.git 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;