From a12bfe46393988333fa2c41163973c10db4db00f Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 9 Aug 2024 17:03:21 +0300 Subject: [PATCH] LibC: Don't crash when calling tcflush() --- userspace/libraries/LibC/termios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/libraries/LibC/termios.cpp b/userspace/libraries/LibC/termios.cpp index b81c9ecb..28974701 100644 --- a/userspace/libraries/LibC/termios.cpp +++ b/userspace/libraries/LibC/termios.cpp @@ -71,7 +71,7 @@ int tcflow(int, int); int tcflush(int fd, int queue_selector) { dwarnln("FIXME: tcflush({}, {})", fd, queue_selector); - ASSERT_NOT_REACHED(); + return 0; } int tcgetattr(int fildes, struct termios* termios)