summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libddekit/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libddekit/thread.c b/libddekit/thread.c
index cc2b0d53..84fbb1d6 100644
--- a/libddekit/thread.c
+++ b/libddekit/thread.c
@@ -104,7 +104,7 @@ static void setup_thread (struct ddekit_thread *t, const char *name) {
else
strcpy (cpy, name);
- cthread_set_name (&t->thread, name);
+ cthread_set_name (&t->thread, cpy);
}
/*