[rtems-lwip commit] rtemslwip: Document a deficiency in syslog
    Joel Sherrill 
    joel at rtems.org
       
    Thu Aug 25 18:28:13 UTC 2022
    
    
  
Module:    rtems-lwip
Branch:    main
Commit:    f2caefb20515db19685ec6a713b8e18bf216dee6
Changeset: http://git.rtems.org/rtems-lwip/commit/?id=f2caefb20515db19685ec6a713b8e18bf216dee6
Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
Date:      Fri Aug 19 16:49:48 2022 -0500
rtemslwip: Document a deficiency in syslog
---
 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)
    
    
More information about the vc
mailing list