minix/lib/syslib/assert.c

15 lines
244 B
C
Raw Normal View History

/*
* 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);
}