summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-21 16:20:12 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-21 16:22:23 +0900
commit8f0e3a97f9f3e2f5b35dd3d34ab8d7c09261916e (patch)
treef5dc978825bb19d0d98174537a6abaaf26701b3d /string.c
parentf92f08ff23dbda568ef66fea4fbc2216249f60e1 (diff)
downloadruby-8f0e3a97f9f3e2f5b35dd3d34ab8d7c09261916e.tar.gz
rb_debug_rstring_null_ptr: add newlines in the message [ci skip]
The message should end with a newline, and break the long paragraph.
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 37dca19aa7..b879e417b8 100644
--- a/string.c
+++ b/string.c
@@ -268,9 +268,9 @@ void
rb_debug_rstring_null_ptr(const char *func)
{
fprintf(stderr, "%s is returning NULL!! "
- "SIGSEGV is highly expected to follow immediately. "
+ "SIGSEGV is highly expected to follow immediately.\n"
"If you could reproduce, attach your debugger here, "
- "and look at the passed string.",
+ "and look at the passed string.\n",
func);
}