summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-15 03:36:25 +0000
committerpeter <peter@FreeBSD.org>1995-12-15 03:36:25 +0000
commit1bce25d080359874ca58c55b536f78a9ec26fa99 (patch)
tree984e32b56edbf5e5c1557bbcd490076aaae012d5 /sys/ufs
parent9995c82494c9ff22ab1acc15502d5dcf5c7abb7a (diff)
downloadFreeBSD-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.c5
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);
OpenPOWER on IntegriCloud