From eb730d92e49e2ade0bd124e5d3b8506b02a768cb Mon Sep 17 00:00:00 2001 From: kib Date: Fri, 1 Apr 2011 13:28:34 +0000 Subject: 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 --- sys/opencrypto/cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/opencrypto/cryptodev.c') diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c index 6a10f9a..2c0c503 100644 --- a/sys/opencrypto/cryptodev.c +++ b/sys/opencrypto/cryptodev.c @@ -1109,7 +1109,7 @@ cryptoioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread TAILQ_INIT(&fcr->csessions); fcr->sesn = 0; - error = falloc(td, &f, &fd); + error = falloc(td, &f, &fd, 0); if (error) { free(fcr, M_XDATA); -- cgit v1.1