summaryrefslogtreecommitdiff
path: root/kernel/libc/exit/assert.c
blob: b48773a0c588b1d2e11d6559731880225d9ba53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <assert.h>
#include <log.h>
#include <stdio.h>
#include <log.h>

void aFailed(char *f, int l) {
  kprintf("Assert failed\n");
  kprintf("%s : %d\n", f, l);
  dump_backtrace(10);
  for (;;)
    ;
}