diff --git a/sys/gnu/ext2fs/ext2_bmap.c b/sys/gnu/ext2fs/ext2_bmap.c index 9be819f71f7a..c8b3cd4f7c38 100644 --- a/sys/gnu/ext2fs/ext2_bmap.c +++ b/sys/gnu/ext2fs/ext2_bmap.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94 - * $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $ + * $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $ */ #include @@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb) struct ufsmount *ump; struct mount *mp; struct vnode *devvp; - struct indir a[NIADDR], *xap; + struct indir a[NIADDR+1], *xap; daddr_t daddr; long metalbn; int error, maxrun = 0, num; diff --git a/sys/gnu/fs/ext2fs/ext2_bmap.c b/sys/gnu/fs/ext2fs/ext2_bmap.c index 9be819f71f7a..c8b3cd4f7c38 100644 --- a/sys/gnu/fs/ext2fs/ext2_bmap.c +++ b/sys/gnu/fs/ext2fs/ext2_bmap.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94 - * $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $ + * $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $ */ #include @@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb) struct ufsmount *ump; struct mount *mp; struct vnode *devvp; - struct indir a[NIADDR], *xap; + struct indir a[NIADDR+1], *xap; daddr_t daddr; long metalbn; int error, maxrun = 0, num; diff --git a/sys/ufs/ufs/ufs_bmap.c b/sys/ufs/ufs/ufs_bmap.c index 9be819f71f7a..c8b3cd4f7c38 100644 --- a/sys/ufs/ufs/ufs_bmap.c +++ b/sys/ufs/ufs/ufs_bmap.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_bmap.c 8.6 (Berkeley) 1/21/94 - * $Id: ufs_bmap.c,v 1.8 1995/05/30 08:15:31 rgrimes Exp $ + * $Id: ufs_bmap.c,v 1.9 1995/09/04 00:21:09 dyson Exp $ */ #include @@ -112,7 +112,7 @@ ufs_bmaparray(vp, bn, bnp, ap, nump, runp, runb) struct ufsmount *ump; struct mount *mp; struct vnode *devvp; - struct indir a[NIADDR], *xap; + struct indir a[NIADDR+1], *xap; daddr_t daddr; long metalbn; int error, maxrun = 0, num;