diff options
Diffstat (limited to 'bin/df/ext2fs_df.c')
-rw-r--r-- | bin/df/ext2fs_df.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c index a92e56053b4..623289a7a24 100644 --- a/bin/df/ext2fs_df.c +++ b/bin/df/ext2fs_df.c @@ -37,7 +37,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)ffs_vfsops.c 8.14 (Berkeley) 11/28/94 + * @(#)ffs_vfsops.c 8.14 (Berkeley) 11/28/94 */ #include <sys/param.h> @@ -89,7 +89,7 @@ e2fs_df(rfd, file, sfsp) ncg = howmany(sblock.e2fs_bcount - sblock.e2fs_first_dblock, sblock.e2fs_bpg); ngdb = howmany(ncg, sfsp->f_bsize / sizeof(struct ext2_gd)); - overhead_per_group = 1 /* super block */ + + overhead_per_group = 1 /* super block */ + ngdb + 1 /* block bitmap */ + 1 /* inode bitmap */ + |