Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa pass EXT2_DINODE_SIZE(fs) as isize to e2fs_ilo...
details: https://anonhg.NetBSD.org/src/rev/c06928f5107d
branches: trunk
changeset: 816949:c06928f5107d
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Aug 04 03:16:00 2016 +0000
description:
pass EXT2_DINODE_SIZE(fs) as isize to e2fs_iload().
should fix build failure.
diffstat:
sys/lib/libsa/ext2fs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 35a0eea649c6 -r c06928f5107d sys/lib/libsa/ext2fs.c
--- a/sys/lib/libsa/ext2fs.c Thu Aug 04 03:01:38 2016 +0000
+++ b/sys/lib/libsa/ext2fs.c Thu Aug 04 03:16:00 2016 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index