From df5d84bb417dc07e31da6b4a9650e3567b0942a1 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 31 Jan 2017 08:03:08 +0000 Subject: [PATCH] mkmf.rb: message format string * lib/mkmf.rb (checking_for): message needs format string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 3b500ec782..533f3f85ce 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -943,10 +943,10 @@ SRC a = r = nil Logging::postpone do r = yield - a = (fmt ? "#{fmt % r}" : r ? "yes" : "no") << "\n" - "#{f}#{m}-------------------- #{a}\n" + a = (fmt ? "#{fmt % r}" : r ? "yes" : "no") + "#{f}#{m}-------------------- #{a}\n\n" end - message(a) + message "%s\n", a Logging::message "--------------------\n\n" r end