From 6b7a2e7b20bc7fe05a61c17d6d96eb70c67a09c9 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 7 Nov 2008 22:05:57 +0000 Subject: [PATCH] Add missing assert. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1912 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/fs/battfs_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bertos/fs/battfs_test.c b/bertos/fs/battfs_test.c index 5d75e833..b8c23517 100644 --- a/bertos/fs/battfs_test.c +++ b/bertos/fs/battfs_test.c @@ -167,8 +167,9 @@ static void testCheck(BattFsSuper *disk, pgcnt_t *reference) exit(2); } } + ASSERT(battfs_fsck(disk)); - battfs_umount(disk); + ASSERT(battfs_umount(disk)); } static void diskNew(BattFsSuper *disk) -- 2.25.1