From 4c312bec701f1768049e1665f84ffd45e6078586 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 21 Dec 2007 21:02:14 +0000 Subject: [PATCH] Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1041 38d2e660-2303-0410-9eaa-f027e97ec537 --- fs/battfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/battfs.c b/fs/battfs.c index ab8075f5..9a4275d6 100644 --- a/fs/battfs.c +++ b/fs/battfs.c @@ -178,8 +178,8 @@ static void movePages(struct BattFsSuper *disk, pgcnt_t src, int offset) */ static void insertFreePage(struct BattFsSuper *disk, pgoff_t *filelen_table, mark_t free_number, pgcnt_t page) { - ASSERT(mark >= disk->min_free); - ASSERT(mark <= disk->max_free); + ASSERT(free_number >= disk->min_free); + ASSERT(free_number <= disk->max_free); pgcnt_t free_pos = countPages(filelen_table, BATTFS_MAX_FILES - 1); free_pos += free_number - disk->min_free; -- 2.25.1