Allow liblog to pass failure reasons to debuggerd.
assert(3) already does this, but LOG_ALWAYS_FATAL and LOG_ALWAYS_FATAL_IF
have been missing out.
Change-Id: I1d6214c4f792fa0d4ba3c14eded3fc9c332bd3c5
diff --git a/libc/private/libc_logging.h b/libc/private/libc_logging.h
index a187b37..54e050a 100644
--- a/libc/private/libc_logging.h
+++ b/libc/private/libc_logging.h
@@ -74,8 +74,8 @@
// Formats a message to the log (priority 'fatal'), then aborts.
//
-__LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...)
- __printflike(1, 2);
+__LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...) __printflike(1, 2);
+__noreturn void __android_fatal(const char* tag, const char* format, ...) __printflike(2, 3);
//
// Formats a message to the log (priority 'fatal'), but doesn't abort.