mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 19:18:55 +00:00
Fix in syslog file separator.
This commit is contained in:
parent
01c8bebf58
commit
c0df7317ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue