Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent

This commit is contained in:
Brian Behlendorf 2009-07-31 14:03:44 -07:00
commit 3f4eb7aad6
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ zfs_nicenum(uint64_t num, char *buf, size_t buflen)
*/
for (j = 2; j >= 0; j--) {
if (snprintf(buf, buflen, "%.*f%c", j,
(double)num / (1ULL << 10 * j), u) <= 5)
(double)num / (1ULL << 10 * i), u) <= 5)
break;
}
}