summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-10-22 15:18:25 +0000
committerchristos <christos@NetBSD.org>2015-10-22 15:18:25 +0000
commit190ea7ea70c0d0ac3c5eee1c3c3a4a3e623c42d2 (patch)
tree4e8f7c4279dbef58a37eaf2f460d58835922c5e1 /sys
parentd87073516d40628c13161973554b07fda6aa5d7a (diff)
Handle both ioctls in both places :-)
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/common/tty_60.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/common/tty_60.c b/sys/compat/common/tty_60.c
index be2b89a75cd..7ec3d19bd9f 100644
--- a/sys/compat/common/tty_60.c
+++ b/sys/compat/common/tty_60.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tty_60.c,v 1.3 2012/10/19 19:44:06 apb Exp $ */
+/* $NetBSD: tty_60.c,v 1.4 2015/10/22 15:18:25 christos Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_60.c,v 1.3 2012/10/19 19:44:06 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_60.c,v 1.4 2015/10/22 15:18:25 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -97,6 +97,7 @@ compat_60_ttioctl(struct tty *tp, u_long cmd, void *data, int flag,
{
switch (cmd) {
+ case COMPAT_60_TIOCPTMGET:
case COMPAT_60_TIOCPTSNAME:
return compat_60_ptmget_ioctl(tp->t_dev, cmd, data, flag, l);
default: