X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmidi-stream.cc;h=8b84798f6200ec454577493aed020b6dff2c0dbc;hb=9a78a2bb65c0c9f831753eda0ee0a743e222ba99;hp=bcaefe7c181fc461fde48f8a6b9b744c865321cf;hpb=f9214bac21e9926dc3248416f58190c98c4167a9;p=lilypond.git diff --git a/lily/midi-stream.cc b/lily/midi-stream.cc index bcaefe7c18..8b84798f62 100644 --- a/lily/midi-stream.cc +++ b/lily/midi-stream.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2007 Jan Nieuwenhuizen + (c) 1997--2009 Jan Nieuwenhuizen */ #include "midi-stream.hh" @@ -41,7 +41,7 @@ Midi_stream::write (string str) size_t written = fwrite (str.data (), sz, n, out_file_); if (written != sz * n) - warning (_ ("cannot write to file: `%s'")); + warning (_f ("cannot write to file: `%s'", str.data ())); } void