aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/umapfs/umap_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs/umap_vfsops.c')
-rw-r--r--sys/fs/umapfs/umap_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index ebdcf85236a3..9e5f0fcb11d0 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -105,7 +105,7 @@ umapfs_mount(mp, path, data, ndp, td)
/*
* Only for root
*/
- if ((error = suser_td(td)) != 0)
+ if ((error = suser(td)) != 0)
return (error);
#ifdef DEBUG