pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git] / commands / yap / assert.c
blobd89cb008fe9a8ac0abe7d24bd5a8b55b85765cd6
1 /* Copyright (c) 1985 Ceriel J.H. Jacobs */
3 # ifndef lint
4 static char rcsid[] = "$Header$";
5 # endif
7 # define _ASSERT_
9 # include "in_all.h"
10 # include "assert.h"
11 # if DO_ASSERT
12 # include "output.h"
13 # include "term.h"
16 * Assertion fails. Tell me about it.
19 VOID
20 badassertion(ass,f,l) char *ass, *f; {
22 clrbline();
23 putline("Assertion \"");
24 putline(ass);
25 putline("\" failed ");
26 putline(f);
27 putline(", line ");
28 prnum((long) l);
29 putline(".\r\n");
30 flush();
31 resettty();
32 abort();
34 # endif