repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move benchmarks to their own dir.
[minix.git]
/
lib
/
syslib
/
assert.c
blob
22f312532104e7d60e5143e9cc6fe984e2085ba7
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
11
void
__bad_assertion
(
const char
*
mess
) {
12
printf
(
"%s"
,
mess
);
13
panic
(
NULL
,
NULL
,
NO_NUM
);
14
}