yaffs: Replace YBUG() with BUG()
[yaffs2.git] / direct / yportenv.h
index 4208e806661fa8f1d95a58bd0e1d9ab623052b84..9127f842bcf318f8a10b779c1703ca5ca83894e5 100644 (file)
@@ -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__);\