summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 18:46:17 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-11 18:46:17 +0000
commit6a1e385197eb36939693963bfd03f89008c424ab (patch)
tree061fb9f6c49a663addb62a8b8526c1c0fb28eeed /lib
parent0c72a8f091eff82b71e045fc8049406d0a48ee85 (diff)
merge revision(s) 57480:
mkmf.rb: message format string * lib/mkmf.rb (checking_for): message needs format string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 34dbcda657..999ffaa379 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