summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-31 08:03:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-31 08:03:08 +0000
commitdf5d84bb417dc07e31da6b4a9650e3567b0942a1 (patch)
treefb379ab1bc5acec1f48adf2363a0d4e6e0517aff
parentbfdfc99cc2ea49f15b1380516bd341f4e7b425b6 (diff)
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
-rw-r--r--lib/mkmf.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 3b500ec782b..533f3f85ce8 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