summaryrefslogtreecommitdiff
path: root/src/drivers/ao_log_fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ao_log_fat.c')
-rw-r--r--src/drivers/ao_log_fat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/ao_log_fat.c b/src/drivers/ao_log_fat.c
index 2741555f..6b433b99 100644
--- a/src/drivers/ao_log_fat.c
+++ b/src/drivers/ao_log_fat.c
@@ -83,3 +83,9 @@ ao_log_mega(struct ao_log_mega *log)
ao_mutex_put(&log_mutex);
return wrote;
}
+
+void
+ao_log_flush(void)
+{
+ ao_fat_sync();
+}