summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2022-08-19 16:49:48 -0500
committerJoel Sherrill <joel@rtems.org>2022-08-25 13:37:09 -0500
commitf2caefb20515db19685ec6a713b8e18bf216dee6 (patch)
treea02e2e6fc16df3d84310c6cd9eb7968370a9a9ec
parentlwip: Use definitions from tools (diff)
downloadrtems-lwip-f2caefb20515db19685ec6a713b8e18bf216dee6.tar.bz2
rtemslwip: Document a deficiency in syslog
-rw-r--r--rtemslwip/common/syslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemslwip/common/syslog.c b/rtemslwip/common/syslog.c
index e544074..4da911e 100644
--- a/rtemslwip/common/syslog.c
+++ b/rtemslwip/common/syslog.c
@@ -38,6 +38,9 @@ syslog (int pri, const char *fmt, ...)
* FIXME: Should cbuf be static? Then we wouldn't
* have to worry about blowing stacks with a local variable
* that large. Could make cbuf bigger, too.
+ *
+ * FIXME: This does not properly handle the %m format specifier which should
+ * insert the string result of strerror(errno).
*/
void
vsyslog (int pri, const char *fmt, va_list ap)