mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 15:54:06 +08:00
sdlog2 writer: Use new prctl syntax
This commit is contained in:
parent
58d5fdc853
commit
d5541ee2a7
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user