From: batt Date: Fri, 2 Jul 2010 09:23:55 +0000 (+0000) Subject: Use correct macro. X-Git-Tag: 2.6.0~325 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=68553aebb9ff7d2208222f87634760a53836e965;p=bertos.git Use correct macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3982 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */