yaffs: Fix compilation issue
authorCharles Manning <cdhmanning@gmail.com>
Mon, 10 Jan 2011 00:57:39 +0000 (13:57 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Mon, 10 Jan 2011 00:57:39 +0000 (13:57 +1300)
FALSE-> YAFFS_FAIL

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_nand.c

index f7810d0..25b5213 100644 (file)
@@ -72,7 +72,7 @@ int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev,
        } else {
                yaffs_trace(YAFFS_TRACE_ERROR, "Writing with no tags");
                YBUG();
-               return FALSE;
+               return YAFFS_FAIL;
        }
 
        if (dev->param.write_chunk_tags_fn)