summaryrefslogtreecommitdiff
path: root/src/writer.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-12-27 12:36:13 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-12-27 12:36:13 (GMT)
commitbfca54665d2fa4e72997ab9816b35011d756694e (patch)
tree36317219a8477ff7ca197090ea5ce346acc1ee28 /src/writer.c
parentb46d601c70c6a2f39ca1cd1de83b0aa561ce5204 (diff)
fixed some depreacated library calls
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;