aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libmach/linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/linux.c b/src/libmach/linux.c
index e4e2fd5c7b..30b4da2405 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)