summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_freebsdkintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/raidframe/rf_freebsdkintf.c')
-rw-r--r--sys/dev/raidframe/rf_freebsdkintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c
index d58bf26..d391fcd 100644
--- a/sys/dev/raidframe/rf_freebsdkintf.c
+++ b/sys/dev/raidframe/rf_freebsdkintf.c
@@ -1727,7 +1727,7 @@ raidlookup(path, td, vpp)
NDINIT(nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, curthread);
flags = FREAD | FWRITE;
- if ((error = vn_open(nd, &flags, 0)) != 0) {
+ if ((error = vn_open(nd, &flags, 0, -1)) != 0) {
rf_printf(2, "RAIDframe: vn_open returned %d\n", error);
goto end1;
}
OpenPOWER on IntegriCloud