Fix assert
diff --git a/bd/lfs_testbd.c b/bd/lfs_testbd.c index 1ec6fb9..9d3f40c 100644 --- a/bd/lfs_testbd.c +++ b/bd/lfs_testbd.c
@@ -207,7 +207,7 @@ bd->power_cycles -= 1; if (bd->power_cycles == 0) { // sync to make sure we persist the last changes - assert(lfs_testbd_rawsync(cfg) == 0); + LFS_ASSERT(lfs_testbd_rawsync(cfg) == 0); // simulate power loss exit(33); } @@ -254,7 +254,7 @@ bd->power_cycles -= 1; if (bd->power_cycles == 0) { // sync to make sure we persist the last changes - assert(lfs_testbd_rawsync(cfg) == 0); + LFS_ASSERT(lfs_testbd_rawsync(cfg) == 0); // simulate power loss exit(33); }