Rev 2 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#include <u.h>
#include <libc.h>
void (*__assert)(char*);
void
_assert(char *s)
{
if(__assert)
(*__assert)(s);
fprint(2, "assert failed: %s\n", s);
abort();
}