diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-22 05:43:15 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-04-22 05:43:15 +0000 |
commit | 2ca2111afa9d6ac1630b3e28226abd9d97b4e431 (patch) | |
tree | 32e68dee26390c4060d3b55fa2b8bded925f1c94 /sys/crypto | |
parent | 856ac2591baaf667bfcf163c7fbcb9f5a766137e (diff) |
Add struct proc * argument to FRELE() and FILE_SET_MATURE() in
anticipation of further changes to closef(). No binary change.
ok krw@ miod@ deraadt@
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/cryptodev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c index a6fd1be0ccb..2c4434bee15 100644 --- a/sys/crypto/cryptodev.c +++ b/sys/crypto/cryptodev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.c,v 1.78 2012/02/15 04:26:27 guenther Exp $ */ +/* $OpenBSD: cryptodev.c,v 1.79 2012/04/22 05:43:14 guenther Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -679,7 +679,7 @@ cryptoioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) f->f_ops = &cryptofops; f->f_data = fcr; *(u_int32_t *)data = fd; - FILE_SET_MATURE(f); + FILE_SET_MATURE(f, p); break; default: error = EINVAL; |