X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_nand.c;h=f7810d0a0e370dff99207b3948a9a26351314b67;hp=84ab0f020edbddfaf031bbd140a92b75520bf8ef;hb=b70ea39d4f2547564197afa8866b388301765583;hpb=5409719091c79983abc45bcc3070bce6786c8278 diff --git a/yaffs_nand.c b/yaffs_nand.c index 84ab0f0..f7810d0 100644 --- a/yaffs_nand.c +++ b/yaffs_nand.c @@ -63,16 +63,16 @@ int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev, tags->seq_number = dev->seq_number; tags->chunk_used = 1; if (!yaffs_validate_tags(tags)) { - T(YAFFS_TRACE_ERROR, - (TSTR("Writing uninitialised tags" TENDSTR))); + yaffs_trace(YAFFS_TRACE_ERROR, "Writing uninitialised tags"); YBUG(); } - T(YAFFS_TRACE_WRITE, - (TSTR("Writing chunk %d tags %d %d" TENDSTR), nand_chunk, - tags->obj_id, tags->chunk_id)); + yaffs_trace(YAFFS_TRACE_WRITE, + "Writing chunk %d tags %d %d", + nand_chunk, tags->obj_id, tags->chunk_id); } else { - T(YAFFS_TRACE_ERROR, (TSTR("Writing with no tags" TENDSTR))); + yaffs_trace(YAFFS_TRACE_ERROR, "Writing with no tags"); YBUG(); + return FALSE; } if (dev->param.write_chunk_tags_fn)