summaryrefslogtreecommitdiff
path: root/accel-pppd/triton/triton.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/triton/triton.c')
-rw-r--r--accel-pppd/triton/triton.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/triton/triton.c b/accel-pppd/triton/triton.c
index 7cd7055..a881910 100644
--- a/accel-pppd/triton/triton.c
+++ b/accel-pppd/triton/triton.c
@@ -742,8 +742,10 @@ void __export triton_run()
for(i = 0; i < thread_count; i++) {
t = create_thread();
- if (!t)
+ if (!t) {
+ triton_log_error("triton_run:create_thread: %s", strerror(errno));
_exit(-1);
+ }
list_add_tail(&t->entry, &threads);
pthread_mutex_unlock(&t->sleep_lock);