summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_tame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c
index 9751b130c32..7b6c4488cd6 100644
--- a/sys/kern/kern_tame.c
+++ b/sys/kern/kern_tame.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_tame.c,v 1.13 2015/07/22 05:32:44 deraadt Exp $ */
+/* $OpenBSD: kern_tame.c,v 1.14 2015/07/23 02:57:51 doug Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -724,7 +724,7 @@ tame_ioctl_check(struct proc *p, long com, void *v)
return (EPERM);
/* tty subsystem */
- case TIOCSWINSZ: /* various programs */
+ case TIOCGWINSZ: /* various programs */
case TIOCSTI: /* ksh? csh? */
if (fp->f_type == DTYPE_VNODE && (vp->v_flag & VISTTY))
return (0);