From ac8e92a4fad33371b4f4302d98310b6490f20c7f Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 3 Jan 2016 02:52:14 +0200 Subject: [PATCH] take over /dev/tty too no idea why this was made to fail, clearly needed for some statically linked SDL versions... --- loader/override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/override.c b/loader/override.c index 4ba4018..8c91644 100644 --- a/loader/override.c +++ b/loader/override.c @@ -36,7 +36,7 @@ static const struct dev_fd_t takeover_devs[] = { { "/dev/fb1", FAKEDEV_FB1 }, { "/dev/fb/1", FAKEDEV_FB1 }, { "/dev/mmuhack", FAKEDEV_MMUHACK }, - { "/dev/tty", -1 }, // XXX hmh.. + { "/dev/tty", FAKEDEV_TTY0 }, { "/dev/tty0", FAKEDEV_TTY0 }, #ifdef PND { "/dev/input/event*", -1 }, // hide for now, may cause dupe events -- 2.39.5