Fix debug check.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 7 Sep 2009 13:39:46 +0000 (13:39 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 7 Sep 2009 13:39:46 +0000 (13:39 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2886 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/fs/battfs.c

index 4f4d48920e659051212f0dbc32fcba8da5e095f1..deef25ccb0d53aeb67e44704e0394840e91557c2 100644 (file)
@@ -835,7 +835,7 @@ static size_t battfs_read(struct KFile *fd, void *_buf, size_t size)
                        return total_read;
                }
 
-               #if _DEBUG
+               #ifdef _DEBUG
                        BattFsPageHeader hdr;
                        readHdr(disk, fdb->start[pg_offset], &hdr);
                        ASSERT(hdr.inode == fdb->inode);