diff options
author | peter <peter@FreeBSD.org> | 1995-12-15 03:36:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-12-15 03:36:25 +0000 |
commit | 1bce25d080359874ca58c55b536f78a9ec26fa99 (patch) | |
tree | 984e32b56edbf5e5c1557bbcd490076aaae012d5 /sys/ufs | |
parent | 9995c82494c9ff22ab1acc15502d5dcf5c7abb7a (diff) | |
download | FreeBSD-src-1bce25d080359874ca58c55b536f78a9ec26fa99.zip FreeBSD-src-1bce25d080359874ca58c55b536f78a9ec26fa99.tar.gz |
Silence a harmless warning...
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 08c3113..33653d5 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.8 (Berkeley) 2/21/94 - * $Id: ffs_alloc.c,v 1.19 1995/11/19 19:55:26 dyson Exp $ + * $Id: ffs_alloc.c,v 1.20 1995/12/03 11:16:21 bde Exp $ */ #include <sys/param.h> @@ -528,7 +528,8 @@ ffs_valloc(ap) if (ipref >= fs->fs_ncg * fs->fs_ipg) ipref = 0; cg = ino_to_cg(fs, ipref); - ino = (ino_t)ffs_hashalloc(pip, cg, (long)ipref, mode, ffs_nodealloccg); + ino = (ino_t)ffs_hashalloc(pip, cg, (long)ipref, mode, + (allocfcn_t *)ffs_nodealloccg); if (ino == 0) goto noinodes; error = VFS_VGET(pvp->v_mount, ino, ap->a_vpp); |