Fix debug check.
[bertos.git] / 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);