Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work.

This commit is contained in:
Gregory Nutt
2016-06-19 14:50:00 -06:00
parent 690a0e7a6e
commit 7dd66a4620
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ int vsyslog(int priority, FAR const IPTR char *fmt, va_list ap)
{
/* Yes.. lPerform the _vsyslog system cal */
ret = _vsyslog(fmt, ap);
ret = _vsyslog(fmt, &ap);
}
return ret;