Fix in syslog file separator.

This commit is contained in:
Fotis Panagiotopoulos 2022-06-04 02:19:35 +03:00 committed by Xiang Xiao
parent 01c8bebf58
commit c0df7317ac
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static void log_separate(FAR const char *log_file)
{
struct file fp;
if (file_open(&fp, log_file, O_WRONLY) < 0)
if (file_open(&fp, log_file, (O_WRONLY | O_APPEND)) < 0)
{
return;
}