lib: __assert_fail: Remove M2-Planet workarounds.
* lib/mes/__assert_fail.c (__assert_fail): Use *file, *function.
This commit is contained in:
parent
6bc6e8354e
commit
640bdd027b
|
@ -25,7 +25,7 @@ void
|
||||||
__assert_fail (char const *msg, char const *file, unsigned line,
|
__assert_fail (char const *msg, char const *file, unsigned line,
|
||||||
char const *function)
|
char const *function)
|
||||||
{
|
{
|
||||||
if (file && file[0])
|
if (file && *file)
|
||||||
{
|
{
|
||||||
eputs (file);
|
eputs (file);
|
||||||
eputs (":");
|
eputs (":");
|
||||||
|
@ -35,7 +35,7 @@ __assert_fail (char const *msg, char const *file, unsigned line,
|
||||||
eputs (itoa (line));
|
eputs (itoa (line));
|
||||||
eputs (":");
|
eputs (":");
|
||||||
}
|
}
|
||||||
if (function && function[0])
|
if (function && *function)
|
||||||
{
|
{
|
||||||
eputs (function);
|
eputs (function);
|
||||||
eputs (":");
|
eputs (":");
|
||||||
|
|
Loading…
Reference in a new issue