[PATCH rtems-lwip v2 4/6] rtemslwip: Document a deficiency in syslog
Kinsey Moore
kinsey.moore at oarcorp.com
Wed Aug 24 15:47:29 UTC 2022
---
rtemslwip/common/syslog.c | 3 +++
1 file changed, 3 insertions(+)
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)
--
2.30.2
More information about the devel
mailing list