diff --git a/kernel/brick.h b/kernel/brick.h index fb1f6629..29f0cde2 100644 --- a/kernel/brick.h +++ b/kernel/brick.h @@ -33,8 +33,7 @@ extern int _brick_msleep(int msecs, bool shorten); brick_say(_class, _dump, "BRICK", __BASE_FILE__, __LINE__, __FUNCTION__, _fmt, ##_args) #define BRICK_FAT(_fmt, _args...) _BRICK_MSG(SAY_FATAL, true, _fmt, ##_args) -#define BRICK_ERR(_fmt, _args...) _BRICK_MSG(SAY_ERROR, true, _fmt, ##_args) -#define BRICK_DMP(_fmt, _args...) _BRICK_MSG(SAY_ERROR, false, _fmt, ##_args) +#define BRICK_ERR(_fmt, _args...) _BRICK_MSG(SAY_ERROR, false, _fmt, ##_args) #define BRICK_WRN(_fmt, _args...) _BRICK_MSG(SAY_WARN, false, _fmt, ##_args) #define BRICK_INF(_fmt, _args...) _BRICK_MSG(SAY_INFO, false, _fmt, ##_args) diff --git a/kernel/brick_atomic.h b/kernel/brick_atomic.h index 8d3b1669..9a60d938 100644 --- a/kernel/brick_atomic.h +++ b/kernel/brick_atomic.h @@ -63,7 +63,7 @@ do { \ if (unlikely(__test OP (_minval))) { \ atomic_set(&(_atom)->ta_atomic, _fixval); \ BRICK_ERR("%d: tatomic " #_atom " " #OP " " #_minval " (%d)\n", __LINE__, __test); \ - tatomic_out(_at, BRICK_DMP); \ + tatomic_out(_at, BRICK_ERR); \ } \ } \ } while (0) diff --git a/kernel/mars.h b/kernel/mars.h index 4fe55658..0f714ef2 100644 --- a/kernel/mars.h +++ b/kernel/mars.h @@ -50,7 +50,7 @@ brick_say(_class, _dump, "MARS", __BASE_FILE__, __LINE__, __FUNCTION__, _fmt, ##_args) #define MARS_FAT(_fmt, _args...) _MARS_MSG(SAY_FATAL, true, _fmt, ##_args) -#define MARS_ERR(_fmt, _args...) _MARS_MSG(SAY_ERROR, true, _fmt, ##_args) +#define MARS_ERR(_fmt, _args...) _MARS_MSG(SAY_ERROR, false, _fmt, ##_args) #define MARS_WRN(_fmt, _args...) _MARS_MSG(SAY_WARN, false, _fmt, ##_args) #define MARS_INF(_fmt, _args...) _MARS_MSG(SAY_INFO, false, _fmt, ##_args)