mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
bfdfc99cc2
commit
df5d84bb41
1 changed files with 3 additions and 3 deletions
|
@ -943,10 +943,10 @@ SRC
|
||||||
a = r = nil
|
a = r = nil
|
||||||
Logging::postpone do
|
Logging::postpone do
|
||||||
r = yield
|
r = yield
|
||||||
a = (fmt ? "#{fmt % r}" : r ? "yes" : "no") << "\n"
|
a = (fmt ? "#{fmt % r}" : r ? "yes" : "no")
|
||||||
"#{f}#{m}-------------------- #{a}\n"
|
"#{f}#{m}-------------------- #{a}\n\n"
|
||||||
end
|
end
|
||||||
message(a)
|
message "%s\n", a
|
||||||
Logging::message "--------------------\n\n"
|
Logging::message "--------------------\n\n"
|
||||||
r
|
r
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue