summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2018-08-31 18:04:32 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2018-08-31 18:04:32 -0700
commita6e8926f8d49a213a9abb1a61f6af964f612ab7f (patch)
tree5714fe2b1c0b909df877d875a60e2e46bcb565ec /include
parent2bbd06bcee5fe62896d71f78c6c2b6d0f3a23467 (diff)
downloadglibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.tar.gz
[BZ #20271] Add newlines in __libc_fatal calls.
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 49383fb2d7..51ada4a4c4 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -98,7 +98,8 @@ enum __libc_message_action
do_backtrace = 1 << 1 /* Backtrace. */
};
-/* Print out MESSAGE on the error output and abort. */
+/* Print out MESSAGE (which should end with a newline) on the error output
+ and abort. */
extern void __libc_fatal (const char *__message)
__attribute__ ((__noreturn__));
extern void __libc_message (enum __libc_message_action action,