From 8f0e3a97f9f3e2f5b35dd3d34ab8d7c09261916e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 21 Feb 2022 16:20:12 +0900 Subject: [PATCH] rb_debug_rstring_null_ptr: add newlines in the message [ci skip] The message should end with a newline, and break the long paragraph. --- string.c | 4 ++-- 1 file 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); }