blob: a36c7407c8143734914d1c8c66a012023bd7023e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- ./hw/xfree86/os-support/shared/posix_tty.c.orig
+++ ./hw/xfree86/os-support/shared/posix_tty.c
@@ -460,7 +460,8 @@
{
fd_set fds;
struct timeval timeout;
- char c[4];
+ /* this needs to be big enough to flush an evdev event. */
+ char c[256];
DebugF("FlushingSerial\n");
if (tcflush(fd, TCIFLUSH) == 0)
|