summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-09 05:55:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-09 05:55:59 +0000
commit4fdb700bafe450d1f50820c232094e23de493ff9 (patch)
treed908953523f307df1959cdba7f16b7b10b725a71 /sys/kern
parent269c4d4c5500d024e7b1f644052c66207f2923ee (diff)
another stray )
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sys_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c
index df247485079..99c63426ac2 100644
--- a/sys/kern/sys_generic.c
+++ b/sys/kern/sys_generic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_generic.c,v 1.105 2015/10/09 05:30:03 deraadt Exp $ */
+/* $OpenBSD: sys_generic.c,v 1.106 2015/10/09 05:55:58 deraadt Exp $ */
/* $NetBSD: sys_generic.c,v 1.24 1996/03/29 00:25:32 cgd Exp $ */
/*
@@ -404,7 +404,7 @@ sys_ioctl(struct proc *p, void *v, register_t *retval)
fdp = p->p_fd;
fp = fd_getfile_mode(fdp, SCARG(uap, fd), FREAD|FWRITE);
- error = pledge_ioctl_check(p, com, fp))
+ error = pledge_ioctl_check(p, com, fp);
if (error)
return (pledge_fail(p, EPERM, PLEDGE_IOCTL));