Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs pass isize to e2fs_i_bswap() if BYTE_ORDER !=...
details: https://anonhg.NetBSD.org/src/rev/4e7ef419b71f
branches: trunk
changeset: 346805:4e7ef419b71f
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Aug 04 02:49:50 2016 +0000
description:
pass isize to e2fs_i_bswap() if BYTE_ORDER != LITTLE_ENDIAN.
diffstat:
sys/ufs/ext2fs/ext2fs_dinode.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r ae637c06ff1a -r 4e7ef419b71f sys/ufs/ext2fs/ext2fs_dinode.h
--- a/sys/ufs/ext2fs/ext2fs_dinode.h Wed Aug 03 23:55:47 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_dinode.h Thu Aug 04 02:49:50 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_dinode.h,v 1.29 2016/08/03 23:29:05 jdolecek Exp $ */
+/* $NetBSD: ext2fs_dinode.h,v 1.30 2016/08/04 02:49:50 nonaka Exp $ */
/*
* Copyright (c) 1982, 1989, 1993
@@ -253,8 +253,8 @@
memcpy((new),(old),(isize))
#else
void e2fs_i_bswap(struct ext2fs_dinode *, struct ext2fs_dinode *, size_t);
-# define e2fs_iload(old, new, isize) e2fs_i_bswap((old), (new))
-# define e2fs_isave(old, new, isize) e2fs_i_bswap((old), (new))
+# define e2fs_iload(old, new, isize) e2fs_i_bswap((old), (new), (isize))
+# define e2fs_isave(old, new, isize) e2fs_i_bswap((old), (new), (isize))
#endif
#endif /* !_UFS_EXT2FS_EXT2FS_DINODE_H_ */
Home |
Main Index |
Thread Index |
Old Index