summaryrefslogtreecommitdiff
path: root/sbin/fsck_ext2fs/setup.c
diff options
context:
space:
mode:
authorMartin Pelikan <pelikan@cvs.openbsd.org>2014-07-13 13:50:01 +0000
committerMartin Pelikan <pelikan@cvs.openbsd.org>2014-07-13 13:50:01 +0000
commit2ffae24f2625bff75ab5151197c7dcabd5c772a0 (patch)
treeba15038f5addff32bcdc4f91870dffe219fe1268 /sbin/fsck_ext2fs/setup.c
parentb91afb95221e0468e746044468ee33dbe0e3b135 (diff)
new superblock header needs fixes
Diffstat (limited to 'sbin/fsck_ext2fs/setup.c')
-rw-r--r--sbin/fsck_ext2fs/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_ext2fs/setup.c b/sbin/fsck_ext2fs/setup.c
index b46b55f246c..a5e895d0289 100644
--- a/sbin/fsck_ext2fs/setup.c
+++ b/sbin/fsck_ext2fs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.21 2014/07/11 15:54:52 tobias Exp $ */
+/* $OpenBSD: setup.c,v 1.22 2014/07/13 13:50:00 pelikan Exp $ */
/* $NetBSD: setup.c,v 1.1 1997/06/11 11:22:01 bouyer Exp $ */
/*
@@ -387,7 +387,7 @@ copyback_sb(struct bufarea *bp)
bp->b_un.b_fs->e2fs_first_dblock =
fs2h32(sblock.e2fs.e2fs_first_dblock);
bp->b_un.b_fs->e2fs_log_bsize = fs2h32(sblock.e2fs.e2fs_log_bsize);
- bp->b_un.b_fs->e2fs_fsize = fs2h32(sblock.e2fs.e2fs_fsize);
+ bp->b_un.b_fs->e2fs_log_fsize = fs2h32(sblock.e2fs.e2fs_log_fsize);
bp->b_un.b_fs->e2fs_bpg = fs2h32(sblock.e2fs.e2fs_bpg);
bp->b_un.b_fs->e2fs_fpg = fs2h32(sblock.e2fs.e2fs_fpg);
bp->b_un.b_fs->e2fs_ipg = fs2h32(sblock.e2fs.e2fs_ipg);