diff options
Diffstat (limited to 'sys-kernel/vtty/files/vtty-tty_operations.patch')
-rw-r--r-- | sys-kernel/vtty/files/vtty-tty_operations.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel/vtty/files/vtty-tty_operations.patch b/sys-kernel/vtty/files/vtty-tty_operations.patch new file mode 100644 index 0000000..6974fe0 --- /dev/null +++ b/sys-kernel/vtty/files/vtty-tty_operations.patch @@ -0,0 +1,13 @@ +diff --git a/vtty.c b/vtty.c +index b3c6c65..6aef89a 100644 +--- a/vtty.c ++++ b/vtty.c +@@ -105,7 +105,7 @@ static void vtty_close(struct tty_struct *tty, struct file *filp) + return; + } + +-static int vtty_write(struct tty_struct *tty, const unsigned char *buf, int count) ++static ssize_t vtty_write(struct tty_struct *tty, const u8 *buf, size_t count) + { + // the TTY layer manages -EAGAIN and (non-)blocking writes + struct vtty_port *port = &ports[tty->index]; |