mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
Need to capture return value from ramlog_syslog_initialize()
This commit is contained in:
@@ -81,12 +81,13 @@ int syslog_initialize(void)
|
|||||||
#elif defined(CONFIG_RAMLOG_SYSLOG)
|
#elif defined(CONFIG_RAMLOG_SYSLOG)
|
||||||
/* Use the RAMLOG as the SYSLOG device */
|
/* Use the RAMLOG as the SYSLOG device */
|
||||||
|
|
||||||
ramlog_syslog_initialize();
|
ret = ramlog_syslog_initialize();
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
/* Nothing needs to be done */
|
/* Nothing needs to be done */
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user