diff options
author | Charles Manning <cdhmanning@gmail.com> | 2011-01-26 13:51:16 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2011-01-26 13:51:16 +1300 |
commit | f421449422a9107e857d90d306907084dad236fb (patch) | |
tree | e3f42592af6ee7dd3024588cfb8220988e4111af /yaffs_bitmap.c | |
parent | 2c8eb2bdc3e753893ecc0dd0cd9cba791d4e16db (diff) |
yaffs: Replace YBUG() with BUG()
Also clean a few other things in yportenv_xxxx.h
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_bitmap.c')
-rw-r--r-- | yaffs_bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaffs_bitmap.c b/yaffs_bitmap.c index dc673e8..55c7213 100644 --- a/yaffs_bitmap.c +++ b/yaffs_bitmap.c @@ -23,7 +23,7 @@ static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) yaffs_trace(YAFFS_TRACE_ERROR, "BlockBits block %d is not valid", blk); - YBUG(); + BUG(); } return dev->chunk_bits + (dev->chunk_bit_stride * (blk - dev->internal_start_block)); @@ -36,7 +36,7 @@ void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) yaffs_trace(YAFFS_TRACE_ERROR, "Chunk Id (%d:%d) invalid", blk, chunk); - YBUG(); + BUG(); } } |