summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/cryptmod.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-10-15 22:13:49 +0300
committerDan McDonald <danmcd@joyent.com>2018-11-26 11:11:27 -0500
commit5e1743f0d6a1d79ccc247d50153ad830fa07768b (patch)
treeb3d1fac7244691fbbca058b21a4af814c43ecc53 /usr/src/uts/common/io/cryptmod.c
parenta239e970c64e3cf36327bef7b63193d0e6a25544 (diff)
downloadillumos-joyent-5e1743f0d6a1d79ccc247d50153ad830fa07768b.tar.gz
9903 qinfo: add typed members
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/io/cryptmod.c')
-rw-r--r--usr/src/uts/common/io/cryptmod.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/cryptmod.c b/usr/src/uts/common/io/cryptmod.c
index ad6c5fb2f0..7d7626e2ef 100644
--- a/usr/src/uts/common/io/cryptmod.c
+++ b/usr/src/uts/common/io/cryptmod.c
@@ -67,7 +67,7 @@
static int cryptmodopen(queue_t *, dev_t *, int, int, cred_t *);
static void cryptmodrput(queue_t *, mblk_t *);
static void cryptmodwput(queue_t *, mblk_t *);
-static int cryptmodclose(queue_t *);
+static int cryptmodclose(queue_t *, int, cred_t *);
static int cryptmodwsrv(queue_t *);
static int cryptmodrsrv(queue_t *);
@@ -300,8 +300,9 @@ cryptmodopen(queue_t *rq, dev_t *dev, int oflag, int sflag, cred_t *crp)
return (0);
}
+/* ARGSUSED */
static int
-cryptmodclose(queue_t *rq)
+cryptmodclose(queue_t *rq, int flags __unused, cred_t *credp __unused)
{
struct tmodinfo *tmi = (struct tmodinfo *)rq->q_ptr;
ASSERT(tmi);