From 8e77d3701b665a2e3fa07ed947603e8749e290b0 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 10 Oct 2006 17:16:48 +0000 Subject: [PATCH] Correct a compiler warning from the last commit. --- sys/vfs/nullfs/null_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vfs/nullfs/null_vfsops.c b/sys/vfs/nullfs/null_vfsops.c index c336256f19..5f7db7d8a6 100644 --- a/sys/vfs/nullfs/null_vfsops.c +++ b/sys/vfs/nullfs/null_vfsops.c @@ -37,7 +37,7 @@ * * @(#)lofs_vfsops.c 1.2 (Berkeley) 6/18/92 * $FreeBSD: src/sys/miscfs/nullfs/null_vfsops.c,v 1.35.2.3 2001/07/26 20:37:11 iedowse Exp $ - * $DragonFly: src/sys/vfs/nullfs/null_vfsops.c,v 1.27 2006/10/10 16:21:02 dillon Exp $ + * $DragonFly: src/sys/vfs/nullfs/null_vfsops.c,v 1.28 2006/10/10 17:16:48 dillon Exp $ */ /* @@ -162,7 +162,7 @@ nullfs_unmount(struct mount *mp, int mntflags) /* * Finally, throw away the null_mount structure */ - xmp = mp->mnt_data; + xmp = (void *)mp->mnt_data; mp->mnt_data = 0; if (xmp->nullm_rootvp) { vrele(xmp->nullm_rootvp); -- 2.41.0