libc: _assert do not return. should fix build

This commit is contained in:
Giacomo Tesio 2017-01-17 21:28:56 +01:00
parent 04962f0637
commit 207967f9e8
1 changed files with 1 additions and 0 deletions

View File

@ -19,4 +19,5 @@ _assert(const char *s)
(*__assert)((char*)s);
fprint(2, "assert failed: %s\n", s);
abort();
__builtin_unreachable();
}