summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/libc/syslog/lib_syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/syslog/lib_syslog.c b/nuttx/libc/syslog/lib_syslog.c
index 4ec544329..636401046 100644
--- a/nuttx/libc/syslog/lib_syslog.c
+++ b/nuttx/libc/syslog/lib_syslog.c
@@ -108,7 +108,7 @@ static inline int vsyslog_internal(FAR const char *fmt, va_list ap)
/* Get the current time */
- (void)clock_systimespec(&ts);
+ ret = clock_systimespec(&ts);
#endif
#if defined(CONFIG_SYSLOG)