1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:07:46 +00:00

Ports: Remove obsolete /dev/tty patches

This commit is contained in:
Daniel Bertalan 2021-12-22 22:49:43 +01:00 committed by Ali Mohammad Pur
parent 39b5bb4162
commit 55a42906a7
3 changed files with 0 additions and 33 deletions

View file

@ -1,13 +0,0 @@
diff --git a/tty.c b/tty.c
index a72e5cd..96fa904 100644
--- a/tty.c
+++ b/tty.c
@@ -33,7 +33,7 @@ tty_init(int init_ttystate)
tty_close();
tty_devtty = 1;
- tfd = open("/dev/tty", O_RDWR, 0);
+ tfd = open("/dev/tty0", O_RDWR, 0);
if (tfd == -1) {
tty_devtty = 0;
warningf(false, "No controlling tty (open /dev/tty: %s)",