X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyportenv.h;fp=direct%2Fyportenv.h;h=939cd3a407bd494d96ba61b0348fe383273c0809;hb=472c70456396a6f2019bfabe83bd292782dbd978;hp=4208e806661fa8f1d95a58bd0e1d9ab623052b84;hpb=6752805392f3b421d820effa4bf3f7484862d409;p=yaffs2.git diff --git a/direct/yportenv.h b/direct/yportenv.h index 4208e80..939cd3a 100644 --- a/direct/yportenv.h +++ b/direct/yportenv.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -278,8 +278,8 @@ struct iattr { #define Y_DUMP_STACK() do { } while (0) #endif -#ifndef YBUG -#define YBUG() do {\ +#ifndef BUG +#define BUG() do {\ yaffs_trace(YAFFS_TRACE_BUG,\ "==>> yaffs bug: " __FILE__ " %d",\ __LINE__);\