Minor fixes to comments.
[AROS.git] / rom / kernel / _bug.c
blob2c4c09e49360934f3b194f4f165730f85d76e2ed
1 #include <stdarg.h>
2 #include <stdio.h>
4 #include <kernel_base.h>
5 #include <kernel_debug.h>
7 /*
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);