source:
trunk/minix/lib/syslib/assert.c@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[9] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.