diff --git a/src/libmach/linux.c b/src/libmach/linux.c index e4e2fd5c7bd..30b4da24053 100644 --- a/src/libmach/linux.c +++ b/src/libmach/linux.c @@ -199,7 +199,7 @@ attachthread(int pid, int tid, int *new, int newstate) t = malloc(sizeof *t); if(t == nil) return nil; - memset(t, 0, sizeof *t); + memset(t, 0, sizeof *t); thr[nthr++] = t; if(pid == 0 && nthr > 0)