aboutsummaryrefslogtreecommitdiff
path: root/sbin/ffsinfo/ffsinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ffsinfo/ffsinfo.c')
-rw-r--r--sbin/ffsinfo/ffsinfo.c4
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.