diff options
author | Ed Maste <emaste@FreeBSD.org> | 2017-02-15 19:50:26 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2017-02-15 19:50:26 +0000 |
commit | 1dc349ab9564b54c1b1f619045e95f966a9aae86 (patch) | |
tree | 9430648d462fa23db629b080e6fa38b22a37260c /sbin/ffsinfo/ffsinfo.c | |
parent | 605703b5dfe92b64a2127637f30db6385a89f685 (diff) | |
download | src-1dc349ab9564b54c1b1f619045e95f966a9aae86.tar.gz src-1dc349ab9564b54c1b1f619045e95f966a9aae86.zip |
Notes
Diffstat (limited to 'sbin/ffsinfo/ffsinfo.c')
-rw-r--r-- | sbin/ffsinfo/ffsinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ffsinfo/ffsinfo.c b/sbin/ffsinfo/ffsinfo.c index c1e7c87c1b47..1c082aba8fb0 100644 --- a/sbin/ffsinfo/ffsinfo.c +++ b/sbin/ffsinfo/ffsinfo.c @@ -377,7 +377,7 @@ dump_whole_ufs1_inode(ino_t inode, int level) /* * Ok, now prepare for dumping all direct and indirect pointers. */ - rb=howmany(ino->di_size, sblock.fs_bsize)-NDADDR; + rb = howmany(ino->di_size, sblock.fs_bsize) - UFS_NDADDR; if(rb>0) { /* * Dump single indirect block. @@ -529,7 +529,7 @@ dump_whole_ufs2_inode(ino_t inode, int level) /* * Ok, now prepare for dumping all direct and indirect pointers. */ - rb = howmany(ino->di_size, sblock.fs_bsize) - NDADDR; + rb = howmany(ino->di_size, sblock.fs_bsize) - UFS_NDADDR; if (rb > 0) { /* * Dump single indirect block. |