libc: _assert do not return. should fix build

This commit is contained in:
2017-01-17 21:28:56 +01:00
parent 04962f0637
commit 207967f9e8

View File

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