summaryrefslogtreecommitdiff
path: root/sys/dev/streams
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
commit1fe80828e72af1c4f17f946eb8fe0d4070ae22c7 (patch)
tree3d25bcc0dd45d3d17d69535933f99529288ffdae /sys/dev/streams
parentbf34d84c56579c53561b0c74a510ad55f171c0b2 (diff)
Notes
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index 7b99d2078099..00f65a3907c2 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -241,7 +241,7 @@ streamsopen(struct cdev *dev, int oflags, int devtype, struct thread *td)
}
fdp = td->td_proc->p_fd;
- if ((error = falloc(td, &fp, &fd)) != 0)
+ if ((error = falloc(td, &fp, &fd, 0)) != 0)
return error;
/* An extra reference on `fp' has been held for us by falloc(). */