AP_HAL_SITL: make it clear the panic message is a panic message

This commit is contained in:
Peter Barker 2020-07-24 13:11:39 +10:00 committed by Peter Barker
parent c8bbbd2720
commit 7a3e2d11db
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ void panic(const char *errormsg, ...)
va_list ap;
fflush(stdout);
printf("PANIC: ");
va_start(ap, errormsg);
vprintf(errormsg, ap);
va_end(ap);