4 #include <kernel_base.h>
5 #include <kernel_debug.h>
8 * This is internal version of KrnBug(), to be called directly by bug() macro.
9 * If you want to reimplement it, override this file.
10 * However, generally you won't want to do this, because __vcformat() supports
11 * AROS-specific extensions, like %b, which are unlikely supported by your host OS.
13 int krnBug(const char *format
, va_list args
, APTR kernelBase
)
15 return __vcformat(kernelBase
, (int (*)(int, void *))krnPutC
, format
, args
);