X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyportenv.h;h=9127f842bcf318f8a10b779c1703ca5ca83894e5;hb=f421449422a9107e857d90d306907084dad236fb;hp=4208e806661fa8f1d95a58bd0e1d9ab623052b84;hpb=d223baa0fa5644b48c2626f8d42b05ac45b1daf6;p=yaffs2.git diff --git a/direct/yportenv.h b/direct/yportenv.h index 4208e80..9127f84 100644 --- a/direct/yportenv.h +++ b/direct/yportenv.h @@ -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__);\