Systemd/klibc/klibc/assert.c
greg@kroah.com a41a0e28c2 [PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
Not hooked up to the build yet.
2005-04-26 21:05:23 -07:00

14 lines
240 B
C

/*
* assert.c
*/
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
void __assert_fail(const char *expr, const char *file, unsigned int line)
{
printf("Assertion %s failed, file %s, line %u\n", expr, file, line);
abort();
}