sdlog2 writer: Use new prctl syntax

This commit is contained in:
Lorenz Meier 2015-12-01 12:01:52 +01:00
parent 58d5fdc853
commit d5541ee2a7

View File

@ -555,7 +555,7 @@ int open_perf_file(const char* str)
static void *logwriter_thread(void *arg)
{
/* set name */
prctl(PR_SET_NAME, "sdlog2_writer", 0);
px4_prctl(PR_SET_NAME, "sdlog2_writer", 0);
int log_fd = open_log_file();