summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/gsttask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gsttask.c b/gst/gsttask.c
index e8b3a38a3d..dcb5225f04 100644
--- a/gst/gsttask.c
+++ b/gst/gsttask.c
@@ -201,7 +201,7 @@ gst_task_configure_name (GstTask * task)
GST_DEBUG_OBJECT (task, "Could not create thread name for '%s'", name);
} else {
GST_DEBUG_OBJECT (task, "Setting thread name to '%s'", thread_name);
- if (prctl (PR_SET_NAME, (unsigned long int) thread_name))
+ if (prctl (PR_SET_NAME, (unsigned long int) thread_name, 0, 0, 0))
GST_DEBUG_OBJECT (task, "Failed to set thread name");
}
#endif