aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/makefs
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-12-19 06:10:28 +0800
committerimp <imp@FreeBSD.org>2007-12-19 06:10:28 +0800
commita50c3174dfd469b1e0429b464a0aadb62c5fbfef (patch)
tree3bbbd4c3e7f92c4997a4a1a24a1d04f673fa4842 /sysutils/makefs
parent904c46da9712af0ba5bb4147f5797cdc16c27f91 (diff)
downloadfreebsd-ports-gnome-a50c3174dfd469b1e0429b464a0aadb62c5fbfef.tar.gz
freebsd-ports-gnome-a50c3174dfd469b1e0429b464a0aadb62c5fbfef.tar.zst
freebsd-ports-gnome-a50c3174dfd469b1e0429b464a0aadb62c5fbfef.zip
fix cut-n-paste error: need to update i_ffs2_blocks for ffs2 systems.
Submitted by: mat@
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);
}