revert between 56095 -> 55830 in arch
[AROS.git] / rom / kernel / _bug.c
blobe902442540a67e7391a21495c57dc483f0a1ae44
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <stdarg.h>
9 #include <stdio.h>
11 #include <kernel_base.h>
12 #include <kernel_debug.h>
15 * This is internal version of KrnBug(), to be called directly by bug() macro.
16 * If you want to reimplement it, override this file.
17 * However, generally you won't want to do this, because __vcformat() supports
18 * AROS-specific extensions, like %b, which are unlikely supported by your host OS.
20 int krnBug(const char *format, va_list args, APTR kernelBase)
22 return __vcformat(kernelBase, (int (*)(int, void *))krnPutC, format, args);