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,
|
||||
char const *function)
|
||||
{
|
||||
if (file && file[0])
|
||||
if (file && *file)
|
||||
{
|
||||
eputs (file);
|
||||
eputs (":");
|
||||
|
@ -35,7 +35,7 @@ __assert_fail (char const *msg, char const *file, unsigned line,
|
|||
eputs (itoa (line));
|
||||
eputs (":");
|
||||
}
|
||||
if (function && function[0])
|
||||
if (function && *function)
|
||||
{
|
||||
eputs (function);
|
||||
eputs (":");
|
||||
|
|
Loading…
Reference in a new issue