summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-03-15 17:07:59 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2010-03-15 17:07:59 +0100
commitc78c637a771fef7236bd559a42d18d8b5fc370da (patch)
tree9b84bbe8cc2749b871b80f09f268990e1219b674 /gst
parentfb9243178a88eef1b29bb7ba105ad4a80cd47790 (diff)
task: use bionic/libc friendly arguments to prctl
prctl is supposed to take 5 arguments. It used to work with 2 arguments on some versions of libc because it is defined as a varags function there. See #611911
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