summaryrefslogtreecommitdiff
path: root/sbin/newfs_ext2fs/ext2fs_bswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs_ext2fs/ext2fs_bswap.c')
-rw-r--r--sbin/newfs_ext2fs/ext2fs_bswap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/ext2fs_bswap.c b/sbin/newfs_ext2fs/ext2fs_bswap.c
index d39dcdf3968..844d8cb1596 100644
--- a/sbin/newfs_ext2fs/ext2fs_bswap.c
+++ b/sbin/newfs_ext2fs/ext2fs_bswap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_bswap.c,v 1.1 2010/02/17 19:26:48 otto Exp $ */
+/* $OpenBSD: ext2fs_bswap.c,v 1.2 2014/07/11 22:23:20 miod Exp $ */
/* $NetBSD: ext2fs_bswap.c,v 1.6 2000/07/24 00:23:10 mycroft Exp $ */
/*
@@ -117,7 +117,7 @@ e2fs_i_bswap(struct ext2fs_dinode *old, struct ext2fs_dinode *new)
new->e2di_flags = swap32(old->e2di_flags);
new->e2di_gen = swap32(old->e2di_gen);
new->e2di_facl = swap32(old->e2di_facl);
- new->e2di_dacl = swap32(old->e2di_dacl);
+ new->e2di_size_hi = swap32(old->e2di_size_hi);
new->e2di_faddr = swap32(old->e2di_faddr);
memcpy(&new->e2di_blocks[0], &old->e2di_blocks[0],
(NDADDR+NIADDR) * sizeof(int));