acassis commented on code in PR #8012:
URL: https://github.com/apache/nuttx/pull/8012#discussion_r1059440646


##########
drivers/syslog/vsyslog.c:
##########
@@ -67,6 +67,8 @@ static FAR const char * g_priority_str[] =
 int nx_vsyslog(int priority, FAR const IPTR char *fmt, FAR va_list *ap)
 {
   struct lib_syslogstream_s stream;
+  char buffer[128];

Review Comment:
   Please use some macro similar to SYSLOG_RPMSG_MAXLEN instead of hard-coding 
it here to 128



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to