summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput/axgetput.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/axgetput/axgetput.c')
-rw-r--r--ax25/axgetput/axgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axgetput/axgetput.c b/ax25/axgetput/axgetput.c
index 1e2a48c..e3a0c71 100644
--- a/ax25/axgetput/axgetput.c
+++ b/ax25/axgetput/axgetput.c
@@ -71,7 +71,7 @@ static void set_tty_flags(void)
/* make tty 8bit clean */
if (tcgetattr(fdin, &prev_termios) != -1)
prev_termios_stored = 1;
- memset((char *) &termios, 0, sizeof(termios));
+ memset(&termios, 0, sizeof(termios));
termios.c_iflag = IGNBRK | IGNPAR;
termios.c_oflag = 0;
termios.c_cflag = CBAUD | CS8 | CREAD | CLOCAL;