Use correct macro.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 2 Jul 2010 09:23:55 +0000 (09:23 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 2 Jul 2010 09:23:55 +0000 (09:23 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3982 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/fs/battfs.c

index 9eeedb456335107bbe684bb6708810db634e5784..67ac8b8fd3015a937c16af9cd76c48c1af8cd907 100644 (file)
@@ -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 */