Commit f083112f authored by Ivid Suvarna's avatar Ivid Suvarna Committed by Philippe Gerum
Browse files

lib/boilerplate: Fix build for mercury

"commit 9da7bde2

" introduces rt_print_flush_buffers in ancillaries

Fixes the following error "--with-core=mercury" :

   >> ancillaries.c: In function ‘___panic’:
   >> ancillaries.c:129:2: error: implicit declaration of function ‘rt_print_flush_buffers’
   >>   rt_print_flush_buffers();
   >>   ^
Signed-off-by: default avatarIvid Suvarna <ivid.suvarna@gmail.com>
parent 35fc6d11
......@@ -126,7 +126,9 @@ void ___panic(const char *fn, const char *name,
if (asprintf(&p, "BUG in %s(): ", fn) < 0)
p = "BUG: ";
__printout(name, p, fmt, ap);
#ifdef CONFIG_XENO_COBALT
rt_print_flush_buffers();
#endif /* CONFIG_XENO_COBALT */
exit(1);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment