From: batt Date: Fri, 7 Nov 2008 22:05:57 +0000 (+0000) Subject: Add missing assert. X-Git-Tag: 2.0.0~22 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6b7a2e7b20bc7fe05a61c17d6d96eb70c67a09c9;p=bertos.git Add missing assert. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1912 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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)