aboutsummaryrefslogtreecommitdiff
path: root/sysutils/makefs
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2007-12-18 22:10:28 +0000
committerWarner Losh <imp@FreeBSD.org>2007-12-18 22:10:28 +0000
commit539b06529be937cafaea6019f7d4c5d3ec2963c9 (patch)
treebf00989c8a4a455a7a72f3f131d2d123a4c5c225 /sysutils/makefs
parent916edfcd48a50aec4aa9aaaca649014bf22b419d (diff)
fix cut-n-paste error: need to update i_ffs2_blocks for ffs2 systems.
Submitted by: mat@
Notes
Notes: svn path=/head/; revision=204044
Diffstat (limited to 'sysutils/makefs')
-rw-r--r--sysutils/makefs/files/patch-usr.bin-makefs-ffs-ffs_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/makefs/files/patch-usr.bin-makefs-ffs-ffs_alloc.c b/sysutils/makefs/files/patch-usr.bin-makefs-ffs-ffs_alloc.c
index 1fcc2c6674ad..2386febb0a59 100644
--- a/sysutils/makefs/files/patch-usr.bin-makefs-ffs-ffs_alloc.c
+++ b/sysutils/makefs/files/patch-usr.bin-makefs-ffs-ffs_alloc.c
@@ -8,7 +8,7 @@
+ if (ip->i_fs->fs_magic == FS_UFS1_MAGIC)
+ ip->i_ffs1_blocks += size / DEV_BSIZE;
+ else
-+ ip->i_ffs1_blocks += size / DEV_BSIZE;
++ ip->i_ffs2_blocks += size / DEV_BSIZE;
*bnp = bno;
return (0);
}