diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h index d6dd2858655bdd2ecea9e14e112c2290a80b60f6..ca1c1ee6047949a532fd2bec0abc1479fdc1676c 100644 --- a/sys/compat/linuxkpi/common/include/linux/kernel.h +++ b/sys/compat/linuxkpi/common/include/linux/kernel.h @@ -139,7 +139,7 @@ extern "C" { #endif #define BUG() do { \ - diag_printf("BUG() at %s %d\n", __FUNCTION__, __LINE__); \ + panic("BUG() at %s %d\n", __FUNCTION__, __LINE__); \ } while (0) #define BUG_ON(condition) do { \