aboutsummaryrefslogtreecommitdiffstats
path: root/src/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raw.c')
-rw-r--r--src/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raw.c b/src/raw.c
index 48a1405..2909d54 100644
--- a/src/raw.c
+++ b/src/raw.c
@@ -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;