Module Name: src
Committed By: nonaka
Date: Thu Aug 4 03:16:00 UTC 2016
Modified Files:
src/sys/lib/libsa: ext2fs.c
Log Message:
pass EXT2_DINODE_SIZE(fs) as isize to e2fs_iload().
should fix build failure.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/lib/libsa/ext2fs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/ext2fs.c
diff -u src/sys/lib/libsa/ext2fs.c:1.21 src/sys/lib/libsa/ext2fs.c:1.22
--- src/sys/lib/libsa/ext2fs.c:1.21 Wed Aug 3 09:11:18 2016
+++ src/sys/lib/libsa/ext2fs.c Thu Aug 4 03:16:00 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs.c,v 1.21 2016/08/03 09:11:18 rjs Exp $ */
+/* $NetBSD: ext2fs.c,v 1.22 2016/08/04 03:16:00 nonaka Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer.
@@ -187,7 +187,7 @@ read_inode(ino32_t inumber, struct open_
dip = (struct ext2fs_dinode *)(buf +
EXT2_DINODE_SIZE(fs) * ino_to_fsbo(fs, inumber));
- e2fs_iload(dip, &fp->f_di);
+ e2fs_iload(dip, &fp->f_di, EXT2_DINODE_SIZE(fs));
/*
* Clear out the old buffers