We will use it in sockets creating routine. Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx> --- include/log.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/log.h b/include/log.h index 500353d..22ad80a 100644 --- a/include/log.h +++ b/include/log.h @@ -59,4 +59,6 @@ void debugf(const char *fmt, ...); }\ } +#define BUG_ON(condition) do { if ((condition)) BUG(BUGTXT); } while (0) + #endif /* _LOG_H */ -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html