aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
commit7c89f162bcb645d2fdb234883fb689ed896077a2 (patch)
tree9fe71cfe1133914703f5c502a7c60529cda9fff5 /sys/dev/raidframe
parent1b6c609507d637f33e5bc22dfbd6074ca23dc91e (diff)
Notes
Diffstat (limited to 'sys/dev/raidframe')
-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 d58bf26b08997..d391fcd7204df 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;
}