summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ttcompat.c
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2018-05-30 00:15:35 +0000
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2018-06-04 10:34:36 +0200
commit6cfa0a7079eb1baa0a742f1e4def7cdabc8dcdab (patch)
tree0abc842f0bdd6820328ce59299ac350a9438aa16 /usr/src/uts/common/io/ttcompat.c
parent207bc6d049369709a154c840750e0a74a9ff0a76 (diff)
downloadillumos-joyent-6cfa0a7079eb1baa0a742f1e4def7cdabc8dcdab.tar.gz
9042 multiples of tty streams modules cause weirdness
Reviewed by: Randy Fishel <randyf@sibernet.com> Reviewed by: Carlos Neira <cneirabustos@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/uts/common/io/ttcompat.c')
-rw-r--r--usr/src/uts/common/io/ttcompat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ttcompat.c b/usr/src/uts/common/io/ttcompat.c
index ab420c82e7..22b1442e50 100644
--- a/usr/src/uts/common/io/ttcompat.c
+++ b/usr/src/uts/common/io/ttcompat.c
@@ -21,6 +21,7 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -73,7 +74,7 @@ static struct streamtab ttcoinfo;
static struct fmodsw fsw = {
"ttcompat",
&ttcoinfo,
- D_MTQPAIR | D_MP
+ D_MTQPAIR | D_MP | _D_SINGLE_INSTANCE
};
/*