summaryrefslogtreecommitdiff
path: root/chip/host
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host')
-rw-r--r--chip/host/reboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/host/reboot.c b/chip/host/reboot.c
index dd7c2b2fe2..526276aede 100644
--- a/chip/host/reboot.c
+++ b/chip/host/reboot.c
@@ -10,9 +10,11 @@
#include "host_test.h"
#include "reboot.h"
+#include "test_util.h"
void emulator_reboot(void)
{
char *argv[] = {strdup(__get_prog_name()), NULL};
+ emulator_flush();
execv(__get_prog_name(), argv);
}