diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-12-10 15:15:30 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-12-10 15:15:30 +1300 |
commit | 79d0e028d5b777b2e4cf55d96b737cb024988abe (patch) | |
tree | 73e95fda748d315f0ff77e1f4886e95649a264e6 /yaffs_bitmap.c | |
parent | fb1a7ee223619260cfd9b6366fd78747cc572cd5 (diff) |
yaffs Change tracing to yaffs_trace
Make the tracing a whole lot easier on the eye.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_bitmap.c')
-rw-r--r-- | yaffs_bitmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/yaffs_bitmap.c b/yaffs_bitmap.c index 5d1cfb2..9fe4032 100644 --- a/yaffs_bitmap.c +++ b/yaffs_bitmap.c @@ -20,9 +20,9 @@ static Y_INLINE u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) { if (blk < dev->internal_start_block || blk > dev->internal_end_block) { - T(YAFFS_TRACE_ERROR, - (TSTR("**>> yaffs: BlockBits block %d is not valid" TENDSTR), - blk)); + yaffs_trace(YAFFS_TRACE_ERROR, + "BlockBits block %d is not valid", + blk); YBUG(); } return dev->chunk_bits + @@ -33,9 +33,9 @@ void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) { if (blk < dev->internal_start_block || blk > dev->internal_end_block || chunk < 0 || chunk >= dev->param.chunks_per_block) { - T(YAFFS_TRACE_ERROR, - (TSTR("**>> yaffs: Chunk Id (%d:%d) invalid" TENDSTR), - blk, chunk)); + yaffs_trace(YAFFS_TRACE_ERROR, + "Chunk Id (%d:%d) invalid", + blk, chunk); YBUG(); } } |