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/7eb073a4a071
branches:  trunk
changeset: 341167:7eb073a4a071
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 0f384ab6dd58 -r 7eb073a4a071 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