diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ default_termios (struct termios *termios) void client_termios (struct termios *termios) { - memset (termios, 0, sizeof (termios)); + memset (termios, 0, sizeof (*termios)); termios->c_iflag = ICRNL | IXON | PARMRK | INPCK; termios->c_oflag = OPOST | ONLCR | NL0 | CR0 | TAB0 | BS0 | VT0 | FF0; |