diff options
author | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-31 19:49:26 +0000 |
---|---|---|
committer | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-31 19:49:26 +0000 |
commit | c8396925088bfe02f62f14ecf80f86445193dc27 (patch) | |
tree | 3ef1ea40b3852bd47f60d1bf89538d389aa9bdb1 /sbin | |
parent | 87f91f1fbcad2037340d56f5a2f032ab57d5b3f3 (diff) |
unbreak the build - e2fs_isave now needs the superblock.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs_ext2fs/mke2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/mke2fs.c b/sbin/newfs_ext2fs/mke2fs.c index db8deae935e..0be794dd26d 100644 --- a/sbin/newfs_ext2fs/mke2fs.c +++ b/sbin/newfs_ext2fs/mke2fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mke2fs.c,v 1.10 2014/07/13 16:44:20 pelikan Exp $ */ +/* $OpenBSD: mke2fs.c,v 1.11 2014/07/31 19:49:25 pelikan Exp $ */ /* $NetBSD: mke2fs.c,v 1.13 2009/10/19 18:41:08 bouyer Exp $ */ /*- @@ -1347,7 +1347,7 @@ iput(struct ext2fs_dinode *ip, ino_t ino) dp = (struct ext2fs_dinode *)(bp + inodesize * ino_to_fsbo(&sblock, ino)); - e2fs_isave(ip, dp); + e2fs_isave(&sblock, ip, dp); /* e2fs_i_bswap() doesn't swap e2di_blocks addrs */ if ((ip->e2di_mode & EXT2_IFMT) != EXT2_IFLNK) { for (i = 0; i < NDADDR + NIADDR; i++) |