diff options
Diffstat (limited to 'src/raw.c')
-rw-r--r-- | src/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ terminal_new_raw (int rfd, int wfd) RAW_TERMINAL *t; t = (RAW_TERMINAL *) malloc (sizeof (RAW_TERMINAL)); - memset (t, 0, sizeof (t)); + memset (t, 0, sizeof (*t)); strcpy (t->name, "raw"); t->rfd = rfd; |