Module Name: src
Committed By: christos
Date: Thu Oct 22 15:18:25 UTC 2015
Modified Files:
src/sys/compat/common: tty_60.c
Log Message:
Handle both ioctls in both places :-)
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/tty_60.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/tty_60.c
diff -u src/sys/compat/common/tty_60.c:1.3 src/sys/compat/common/tty_60.c:1.4
--- src/sys/compat/common/tty_60.c:1.3 Fri Oct 19 15:44:06 2012
+++ src/sys/compat/common/tty_60.c Thu Oct 22 11:18:25 2015
@@ -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
{
switch (cmd) {
+ case COMPAT_60_TIOCPTMGET:
case COMPAT_60_TIOCPTSNAME:
return compat_60_ptmget_ioctl(tp->t_dev, cmd, data, flag, l);
default: