From: notaz Date: Sun, 3 Jan 2016 00:52:14 +0000 (+0200) Subject: take over /dev/tty too X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8e92a4fad33371b4f4302d98310b6490f20c7f;p=ginge.git take over /dev/tty too no idea why this was made to fail, clearly needed for some statically linked SDL versions... --- 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