Skip to content
Snippets Groups Projects
Commit 83df879f authored by Mark Charlebois's avatar Mark Charlebois
Browse files

Linux: fixes for compilation with gcc-4.8 on IFC6410

parent 62eb403e
No related branches found
No related tags found
No related merge requests found
......@@ -473,7 +473,7 @@ int open_log_file()
}
}
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC);
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC, 0x0777);
if (fd < 0) {
mavlink_and_console_log_critical(mavlink_fd, "[sdlog2] failed opening: %s", log_file_name);
......@@ -525,7 +525,7 @@ int open_perf_file(const char* str)
}
}
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC);
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC, 0x0777);
if (fd < 0) {
mavlink_and_console_log_critical(mavlink_fd, "[sdlog2] failed opening: %s", log_file_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment