summaryrefslogtreecommitdiff
path: root/Kernel/TTY/SlavePTY.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-09 21:03:39 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-09 21:03:39 +0100
commite9dda8d59261d021d046074f39bc2c0a140a723a (patch)
tree06007eabddb48417a93183b15b8281e6ee95c2ce /Kernel/TTY/SlavePTY.cpp
parentbe459acaea138102f97d25c355b12025836ab003 (diff)
downloadserenity-e9dda8d59261d021d046074f39bc2c0a140a723a.zip
Kernel: Give PTY's *actually* unique major ID's
Okay, one "dunce hat" point for me. The new PTY majors conflicted with PATAChannel. Now they are 200 for master and 201 for slave, not used by anything else.. I hope!
Diffstat (limited to 'Kernel/TTY/SlavePTY.cpp')
-rw-r--r--Kernel/TTY/SlavePTY.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/SlavePTY.cpp b/Kernel/TTY/SlavePTY.cpp
index 0a5a389ae5..fb005b424f 100644
--- a/Kernel/TTY/SlavePTY.cpp
+++ b/Kernel/TTY/SlavePTY.cpp
@@ -6,7 +6,7 @@
//#define SLAVEPTY_DEBUG
SlavePTY::SlavePTY(MasterPTY& master, unsigned index)
- : TTY(101, index)
+ : TTY(201, index)
, m_master(master)
, m_index(index)
{