Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/common Handle both ioctls in both places :-)



details:   https://anonhg.NetBSD.org/src/rev/a45e7f26afec
branches:  trunk
changeset: 811309:a45e7f26afec
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 22 15:18:25 2015 +0000

description:
Handle both ioctls in both places :-)

diffstat:

 sys/compat/common/tty_60.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 23e911b5bb96 -r a45e7f26afec sys/compat/common/tty_60.c
--- a/sys/compat/common/tty_60.c        Thu Oct 22 13:18:25 2015 +0000
+++ b/sys/compat/common/tty_60.c        Thu Oct 22 15:18:25 2015 +0000
@@ -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 @@
 {
 
        switch (cmd) {
+       case COMPAT_60_TIOCPTMGET:
        case COMPAT_60_TIOCPTSNAME:
                return compat_60_ptmget_ioctl(tp->t_dev, cmd, data, flag, l);
        default:



Home | Main Index | Thread Index | Old Index