QuRT and POSIX changes - part 5

Last part of the main QuRT related changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-24 01:39:25 -07:00
parent 187f13cd70
commit a1332e699c
10 changed files with 42 additions and 19 deletions
+2 -1
View File
@@ -39,6 +39,7 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
#include <px4_posix.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
@@ -124,5 +125,5 @@ __EXPORT void mavlink_vasprintf(int _fd, int severity, const char *fmt, ...)
char text[MAVLINK_LOG_MAXLEN + 1];
vsnprintf(text, sizeof(text), fmt, ap);
va_end(ap);
ioctl(_fd, severity, (unsigned long)&text[0]);
px4_ioctl(_fd, severity, (unsigned long)&text[0]);
}