Browse Source

sdlog2 writer: Use new prctl syntax

sbg
Lorenz Meier 9 years ago
parent
commit
d5541ee2a7
  1. 2
      src/modules/sdlog2/sdlog2.c

2
src/modules/sdlog2/sdlog2.c

@ -555,7 +555,7 @@ int open_perf_file(const char* str) @@ -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…
Cancel
Save