SITL: fixed a return value in snprintf functions

This commit is contained in:
Andrew Tridgell 2012-12-20 22:46:22 +11:00
parent dc2b11704f
commit 8d47a739a1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include <stdarg.h>
int libc_vsnprintf(char* str, size_t size, const char *format, va_list ap) {
vsnprintf(str, size, format, ap);
return vsnprintf(str, size, format, ap);
}
#include "Util.h"