mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 17:27:35 +08:00
sdlog2 writer: Use new prctl syntax
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user