source: trunk/minix/lib/syslib/assert.c@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 244 bytes
Line 
1/*
2 * assert.c - diagnostics
3 */
4
5#include <assert.h>
6#include <stdio.h>
7#include <minix/config.h>
8#include <minix/const.h>
9#include <minix/sysutil.h>
10
11void __bad_assertion(const char *mess) {
12 printf("%s", mess);
13 panic(NULL, NULL, NO_NUM);
14}
Note: See TracBrowser for help on using the repository browser.