You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pussuw (via GitHub)" <gi...@apache.org> on 2023/03/30 20:53:30 UTC

[GitHub] [nuttx-apps] pussuw commented on a diff in pull request #1693: system/composite_main.c: Hide fprintf behind macro to handle FILE_STR…

pussuw commented on code in PR #1693:
URL: https://github.com/apache/nuttx-apps/pull/1693#discussion_r1153777095


##########
system/composite/composite_main.c:
##########
@@ -55,6 +55,12 @@
 #  endif
 #endif
 
+#ifdef CONFIG_FILE_STREAM
+#  define printerr(fmt, ...) fprintf(stderr, (fmt), ##__VA_ARGS__)
+#else
+#  define printerr(fmt, ...) dprintf(STDERR_FILENO, (fmt), ##__VA_ARGS__)

Review Comment:
   Good question, I did not write the composite_main.c code.
   
   The problem for me is I'm running out of flash memory



-- 
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-unsubscribe@nuttx.apache.org

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