From 68553aebb9ff7d2208222f87634760a53836e965 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 2 Jul 2010 09:23:55 +0000 Subject: [PATCH] Use correct macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3982 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/fs/battfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/fs/battfs.c b/bertos/fs/battfs.c index 9eeedb45..67ac8b8f 100644 --- a/bertos/fs/battfs.c +++ b/bertos/fs/battfs.c @@ -545,7 +545,7 @@ static pgcnt_t renewPage(struct BattFsSuper *disk, pgcnt_t old_pos) if (SPACE_OVER(disk)) { LOG_ERR("No disk space available!\n"); - return PAGE_UNSET_SENTINEL; + return NO_SPACE; } /* Get a free page */ -- 2.25.1