minix/lib/syslib/assert.c
Philip Homburg 36e8c1a185 Added assert to syslib. Moved panic from sysutil to syslib for assert.
Panic now tries sys_kill with SIGKILL first.
2006-03-15 12:06:18 +00:00

14 lines
244 B
C

/*
* assert.c - diagnostics
*/
#include <assert.h>
#include <stdio.h>
#include <minix/config.h>
#include <minix/const.h>
#include <minix/sysutil.h>
void __bad_assertion(const char *mess) {
printf("%s", mess);
panic(NULL, NULL, NO_NUM);
}