diff options
author | kib <kib@FreeBSD.org> | 2011-04-01 13:28:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-04-01 13:28:34 +0000 |
commit | eb730d92e49e2ade0bd124e5d3b8506b02a768cb (patch) | |
tree | 3d25bcc0dd45d3d17d69535933f99529288ffdae /sys/dev/streams | |
parent | 5787512ec9b8e5299bb1c6452b7b4e869c1e0fdd (diff) | |
download | FreeBSD-src-eb730d92e49e2ade0bd124e5d3b8506b02a768cb.zip FreeBSD-src-eb730d92e49e2ade0bd124e5d3b8506b02a768cb.tar.gz |
After the r219999 is merged to stable/8, rename fallocf(9) to falloc(9)
and remove the falloc() version that lacks flag argument. This is done
to reduce the KPI bloat.
Requested by: jhb
X-MFC-note: do not
Diffstat (limited to 'sys/dev/streams')
-rw-r--r-- | sys/dev/streams/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index 7b99d20..00f65a3 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(). */ |