summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_alq.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
committerphk <phk@FreeBSD.org>2003-07-27 17:04:56 +0000
commitd4d7ca154aba6a0f8370fe818bb79bd7685b9fdc (patch)
tree9fe71cfe1133914703f5c502a7c60529cda9fff5 /sys/kern/kern_alq.c
parentb40be37a17ddb7368dd149f10f7c780fa8cfed66 (diff)
downloadFreeBSD-src-d4d7ca154aba6a0f8370fe818bb79bd7685b9fdc.zip
FreeBSD-src-d4d7ca154aba6a0f8370fe818bb79bd7685b9fdc.tar.gz
Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.
Diffstat (limited to 'sys/kern/kern_alq.c')
-rw-r--r--sys/kern/kern_alq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_alq.c b/sys/kern/kern_alq.c
index 94f0118..9613641 100644
--- a/sys/kern/kern_alq.c
+++ b/sys/kern/kern_alq.c
@@ -345,7 +345,7 @@ alq_open(struct alq **alqp, const char *file, struct ucred *cred, int size,
NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, file, td);
flags = FWRITE | O_NOFOLLOW | O_CREAT;
- error = vn_open_cred(&nd, &flags, 0, cred);
+ error = vn_open_cred(&nd, &flags, 0, cred, -1);
if (error)
return (error);
OpenPOWER on IntegriCloud