From 3c472dcf529d6b821d9e1075cfbdb9132ae27b7f Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Mon, 16 Dec 2019 08:55:35 -0600 Subject: [PATCH] boards/sim/sim/sim/src/sim_bringup.c: Force format little fs before mount. --- boards/sim/sim/sim/src/sim_bringup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/sim/sim/sim/src/sim_bringup.c b/boards/sim/sim/sim/src/sim_bringup.c index 2a52dfccc5..9f3fe8cb6f 100644 --- a/boards/sim/sim/sim/src/sim_bringup.c +++ b/boards/sim/sim/sim/src/sim_bringup.c @@ -214,7 +214,7 @@ int sim_bringup(void) /* Mount the LittleFS file system */ - ret = mount("/dev/rammtd", "/mnt/lfs", "littlefs", 0, "autoformat"); + ret = mount("/dev/rammtd", "/mnt/lfs", "littlefs", 0, "forceformat"); if (ret < 0) { syslog(LOG_ERR,