diff --git a/kernel/vfs/tty.c b/kernel/vfs/tty.c index 447cd538..77f03b8e 100644 --- a/kernel/vfs/tty.c +++ b/kernel/vfs/tty.c @@ -77,7 +77,7 @@ void tty_output_process_slave(pty_t * pty, uint8_t c) { } if (c >= 'a' && c <= 'z' && (pty->tios.c_oflag & OLCUC)) { - c = c + 'a' - 'A'; + c = c + 'A' - 'a'; OUT(c); return; }