mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 15:33:34 +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)
|
static void *logwriter_thread(void *arg)
|
||||||
{
|
{
|
||||||
/* set name */
|
/* set name */
|
||||||
prctl(PR_SET_NAME, "sdlog2_writer", 0);
|
px4_prctl(PR_SET_NAME, "sdlog2_writer", 0);
|
||||||
|
|
||||||
int log_fd = open_log_file();
|
int log_fd = open_log_file();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user