summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ldterm.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/ldterm.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/ldterm.c')
-rw-r--r--usr/src/uts/common/io/ldterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ldterm.c b/usr/src/uts/common/io/ldterm.c
index 6c396db601..1af97c86ea 100644
--- a/usr/src/uts/common/io/ldterm.c
+++ b/usr/src/uts/common/io/ldterm.c
@@ -22,6 +22,7 @@
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
+ * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -381,7 +382,7 @@ static struct streamtab ldtrinfo;
static struct fmodsw fsw = {
"ldterm",
&ldtrinfo,
- D_MTQPAIR | D_MP
+ D_MTQPAIR | D_MP | _D_SINGLE_INSTANCE
};
static struct modlstrmod modlstrmod = {