diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 08:03:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 08:03:08 +0000 |
commit | e1a32bdb75ec22c25fd6b0413a8410d67a536056 (patch) | |
tree | fb379ab1bc5acec1f48adf2363a0d4e6e0517aff | |
parent | 528de2c977437085d5216ce86d95953fe02f99c1 (diff) | |
download | ruby-e1a32bdb75ec22c25fd6b0413a8410d67a536056.tar.gz |
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.rb | 6 |
1 files 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 |