mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Fix in syslog file separator.
This commit is contained in:
committed by
Xiang Xiao
parent
01c8bebf58
commit
c0df7317ac
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user