diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-01 02:19:49 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-01 02:19:49 +0000 |
commit | 212ce360b69cebcd06dfe2e5569bd3bbd96fb734 (patch) | |
tree | 14f7983a72b5947db45cb789d7f297af70fb87aa /sbin/growfs | |
parent | fd394515010c5c17631a204b831ea15eca8497e8 (diff) | |
download | FreeBSD-src-212ce360b69cebcd06dfe2e5569bd3bbd96fb734.zip FreeBSD-src-212ce360b69cebcd06dfe2e5569bd3bbd96fb734.tar.gz |
sbin: use our howmany() macro when available through <sys/param.h>.
Diffstat (limited to 'sbin/growfs')
-rw-r--r-- | sbin/growfs/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/growfs/debug.c b/sbin/growfs/debug.c index 55e2b13..d371013 100644 --- a/sbin/growfs/debug.c +++ b/sbin/growfs/debug.c @@ -518,7 +518,8 @@ dbg_dump_frmap(struct fs *sb, const char *comment, struct cg *cgr) cp = (unsigned char *)cg_blksfree(cgr); if (sb->fs_old_nspf) - e = howmany((sb->fs_old_cpg * sb->fs_old_spc / sb->fs_old_nspf), CHAR_BIT); + e = howmany(sb->fs_old_cpg * sb->fs_old_spc / sb->fs_old_nspf, + CHAR_BIT); else e = 0; for (j = 0; j < e; j += 32) { |