summaryrefslogtreecommitdiffstats
path: root/src/libthread/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/exit.c')
-rw-r--r--src/libthread/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/exit.c b/src/libthread/exit.c
index cf34c60c..f3d4bb8e 100644
--- a/src/libthread/exit.c
+++ b/src/libthread/exit.c
@@ -61,7 +61,7 @@ threadexitsall(char *exitstr)
}
/* leave */
- exit(0);
+ exits(0);
}
Channel*