Need to capture return value from ramlog_syslog_initialize()
This commit is contained in:
parent
0f18f3bd15
commit
99ad3e9bcf
@ -81,12 +81,13 @@ int syslog_initialize(void)
|
||||
#elif defined(CONFIG_RAMLOG_SYSLOG)
|
||||
/* Use the RAMLOG as the SYSLOG device */
|
||||
|
||||
ramlog_syslog_initialize();
|
||||
#endif
|
||||
ret = ramlog_syslog_initialize();
|
||||
|
||||
#else
|
||||
/* Nothing needs to be done */
|
||||
|
||||
ret = 0;
|
||||
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user