summaryrefslogtreecommitdiff
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c
index 192dea9..d7875de 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -211,7 +211,7 @@ int writer_start(writer_t* writer)
log_printf(ERROR, "clock id could not be created");
return -1;
}
- writer->thread_ = g_thread_create(writer_thread_func, writer, TRUE, NULL);
+ writer->thread_ = g_thread_new("writer", writer_thread_func, writer);
if(!writer->thread_) {
log_printf(ERROR, "writer thread could not be started");
return -1;