xiaoxiang781216 commented on a change in pull request #2621: URL: https://github.com/apache/incubator-nuttx/pull/2621#discussion_r555202371
########## File path: drivers/syslog/vsyslog.c ########## @@ -71,6 +71,11 @@ int nx_vsyslog(int priority, FAR const IPTR char *fmt, FAR va_list *ap) { struct lib_syslogstream_s stream; int ret; +#if defined(CONFIG_SYSLOG_TIMESTAMP_FORMATED) + time_t time; + struct tm * tm; Review comment: remove *, tm need pass to localtime_r gmtime_r ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org