mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
SYSLOG device flush logic not meaningful if SYSLOG file channels not supported
This commit is contained in:
@@ -578,7 +578,7 @@ int syslog_dev_flush(void)
|
||||
{
|
||||
int ret = 0;;
|
||||
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
#if defined(CONFIG_SYSLOG_FILE) && !defined(CONFIG_DISABLE_MOUNTPOINT)
|
||||
FAR struct inode *inode = g_syslog_dev.sl_file.f_inode;
|
||||
|
||||
/* Is this a mountpoint? Does it support the sync method? */
|
||||
|
||||
Reference in New Issue
Block a user