summaryrefslogtreecommitdiff
path: root/sys/miscfs/umapfs/umap_vfsops.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-04-27 11:18:52 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-04-27 11:18:52 +0000
commitf711d546d27edc6115841ef780df0252d44a996d (patch)
treed19d0988b873086bf6eda1c6543fc9257015af3d /sys/miscfs/umapfs/umap_vfsops.c
parentd5483ddfbae9694934b27c4e7f23a4f0d3e0f5f4 (diff)
Notes
Diffstat (limited to 'sys/miscfs/umapfs/umap_vfsops.c')
-rw-r--r--sys/miscfs/umapfs/umap_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/umapfs/umap_vfsops.c b/sys/miscfs/umapfs/umap_vfsops.c
index 3ad41cf6c7dc..3acc700a64fc 100644
--- a/sys/miscfs/umapfs/umap_vfsops.c
+++ b/sys/miscfs/umapfs/umap_vfsops.c
@@ -35,7 +35,7 @@
*
* @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95
*
- * $Id: umap_vfsops.c,v 1.23 1998/09/07 13:17:01 bde Exp $
+ * $Id: umap_vfsops.c,v 1.24 1999/03/12 19:40:39 imp Exp $
*/
/*
@@ -98,7 +98,7 @@ umapfs_mount(mp, path, data, ndp, p)
/*
* Only for root
*/
- if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
+ if ((error = suser(p)) != 0)
return (error);
#ifdef UMAPFS_DIAGNOSTIC