lib: tst_resm() put back redirection to newlib
PATCH 1/1 lib: tst_resm() put back redirection to newlib
We do have new library code calling back to old library tst_brkm() at least in move_pages/move_pages12.c hence we have to keep the redirection in the test library for the time being.
Fixes #745
Fixes 61db712e3557 (lib: Fix SAFE_MACROS() redirection to new library)
Signed-off-by Cyril Hrubis <[email protected]>
--- lib/tst_res.c | 2 ++ 1 file changed, 2 insertions(+)
lib/tst_res.c +2 -0
@@ -587,6 +587,8 @@ void tst_brkm__(const char *file, const int lineno, int ttype,tst_brk_ (file, lineno,TBROK ,"Non-NULL cleanup in newlib!" ); } + +tst_brk_ (file, lineno, ttype,"%s" , tmesg); }tst_brk__ (file, lineno, ttype, func,"%s" , tmesg);
Signature · 1 line
2.26.2