summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinum.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vinum/vinum.c')
-rw-r--r--sys/dev/vinum/vinum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c
index 5ea226d..ac98a5e 100644
--- a/sys/dev/vinum/vinum.c
+++ b/sys/dev/vinum/vinum.c
@@ -375,7 +375,7 @@ vinumopen(dev_t dev,
}
case VINUM_SUPERDEV_TYPE:
- error = suser_td(td); /* are we root? */
+ error = suser(td); /* are we root? */
if (error == 0) { /* yes, can do */
if (devminor == VINUM_DAEMON_DEV) /* daemon device */
vinum_conf.flags |= VF_DAEMONOPEN; /* we're open */
OpenPOWER on IntegriCloud