summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pts.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
committerkib <kib@FreeBSD.org>2011-04-01 13:28:34 +0000
commiteb730d92e49e2ade0bd124e5d3b8506b02a768cb (patch)
tree3d25bcc0dd45d3d17d69535933f99529288ffdae /sys/kern/tty_pts.c
parent5787512ec9b8e5299bb1c6452b7b4e869c1e0fdd (diff)
downloadFreeBSD-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/kern/tty_pts.c')
-rw-r--r--sys/kern/tty_pts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c
index afbef1f..b749f3f 100644
--- a/sys/kern/tty_pts.c
+++ b/sys/kern/tty_pts.c
@@ -805,7 +805,7 @@ posix_openpt(struct thread *td, struct posix_openpt_args *uap)
if (uap->flags & ~(O_RDWR|O_NOCTTY))
return (EINVAL);
- error = falloc(td, &fp, &fd);
+ error = falloc(td, &fp, &fd, 0);
if (error)
return (error);
OpenPOWER on IntegriCloud