Skip to content

Commit aef9a89

Browse files
[NFC] add newline after stack smashing message (#100958)
<img width="662" alt="smash newline" src="https://github.com/user-attachments/assets/99625bcb-efd6-4733-aa01-2a2167ee686f">
1 parent 62e9f40 commit aef9a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/compiler/generic/__stack_chk_fail.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
extern "C" {
1414

1515
void __stack_chk_fail(void) {
16-
LIBC_NAMESPACE::write_to_stderr("stack smashing detected");
16+
LIBC_NAMESPACE::write_to_stderr("stack smashing detected\n");
1717
LIBC_NAMESPACE::abort();
1818
}
1919

0 commit comments

Comments
 (0)