patacongo commented on a change in pull request #1179: URL: https://github.com/apache/incubator-nuttx/pull/1179#discussion_r434186409
########## File path: libs/libc/stdio/lib_vprintf.c ########## @@ -49,7 +52,13 @@ int vprintf(FAR const IPTR char *fmt, va_list ap) { +#if CONFIG_NFILE_STREAMS > 0 /* vfprintf into stdout */ return vfprintf(stdout, fmt, ap); +#else + /* vsyslog into debug channel */ + + return nx_vsyslog(LOG_INFO, fmt, &ap); Review comment: ```suggestion return vdprintf(1, fmt, &ap); ``` This is the perfect replacement! ---------------------------------------------------------------- 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